mirror of
https://github.com/rizinorg/rizin
synced 2026-08-22 20:26:16 -04:00
Use shallow clone for CI
This commit is contained in:
parent
a57652ccc0
commit
d1df8bd45a
4 changed files with 9 additions and 10 deletions
10
.github/workflows/ci.yml
vendored
10
.github/workflows/ci.yml
vendored
|
|
@ -384,7 +384,7 @@ jobs:
|
|||
git fetch origin ${{ github.ref }}
|
||||
git checkout -b local_branch FETCH_HEAD
|
||||
- name: Checkout our Testsuite Binaries
|
||||
run: git clone https://github.com/rizinorg/rizin-testbins test/bins
|
||||
run: git clone --depth 1 https://github.com/rizinorg/rizin-testbins test/bins
|
||||
working-directory: rizin
|
||||
- name: Build
|
||||
run: |
|
||||
|
|
@ -463,7 +463,7 @@ jobs:
|
|||
git fetch origin ${{ github.ref }}
|
||||
git checkout -b local_branch FETCH_HEAD
|
||||
- name: Checkout our Testsuite Binaries
|
||||
run: git clone https://github.com/rizinorg/rizin-testbins test/bins
|
||||
run: git clone --depth 1 https://github.com/rizinorg/rizin-testbins test/bins
|
||||
working-directory: rizin
|
||||
# Old Debian git doesn't recognize this directive
|
||||
- name: Workaround to disable git depth
|
||||
|
|
@ -507,7 +507,7 @@ jobs:
|
|||
git fetch origin ${{ github.ref }}
|
||||
git checkout -b local_branch FETCH_HEAD
|
||||
- name: Checkout our Testsuite Binaries
|
||||
run: git clone https://github.com/rizinorg/rizin-testbins test/bins
|
||||
run: git clone --depth 1 https://github.com/rizinorg/rizin-testbins test/bins
|
||||
working-directory: rizin
|
||||
- name: Compile with meson
|
||||
run: |
|
||||
|
|
@ -815,10 +815,10 @@ jobs:
|
|||
working-directory: rizin
|
||||
- name: Checkout rz-bindgen (stable)
|
||||
if: github.ref == 'refs/heads/stable'
|
||||
run: git clone -b stable https://github.com/rizinorg/rz-bindgen
|
||||
run: git clone --depth 1 -b stable https://github.com/rizinorg/rz-bindgen
|
||||
- name: Checkout rz-bindgen (dev)
|
||||
if: github.ref != 'refs/heads/stable'
|
||||
run: git clone -b dev https://github.com/rizinorg/rz-bindgen
|
||||
run: git clone --depth 1 -b dev https://github.com/rizinorg/rz-bindgen
|
||||
- name: Build rz-bindgen
|
||||
run: |
|
||||
meson setup --prefix=/usr -Dplugin=enabled build
|
||||
|
|
|
|||
4
.github/workflows/linter.yml
vendored
4
.github/workflows/linter.yml
vendored
|
|
@ -81,10 +81,10 @@ jobs:
|
|||
path: rizin
|
||||
- name: Checkout rz-bindgen (stable)
|
||||
if: github.ref == 'refs/heads/stable'
|
||||
run: git clone -b stable https://github.com/rizinorg/rz-bindgen
|
||||
run: git clone --depth 1 -b stable https://github.com/rizinorg/rz-bindgen
|
||||
- name: Checkout rz-bindgen (dev)
|
||||
if: github.ref != 'refs/heads/stable'
|
||||
run: git clone -b dev https://github.com/rizinorg/rz-bindgen
|
||||
run: git clone --depth 1 -b dev https://github.com/rizinorg/rz-bindgen
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
sudo pip install meson ninja
|
||||
|
|
|
|||
2
.github/workflows/muon.yml
vendored
2
.github/workflows/muon.yml
vendored
|
|
@ -49,7 +49,7 @@ jobs:
|
|||
|
||||
- name: Checkout Muon repository
|
||||
run: |
|
||||
git clone https://git.sr.ht/~lattis/muon
|
||||
git clone --depth 1 https://git.sr.ht/~lattis/muon
|
||||
|
||||
- name: Compiling and installing Muon
|
||||
working-directory: muon
|
||||
|
|
|
|||
3
.github/workflows/tcc.yml
vendored
3
.github/workflows/tcc.yml
vendored
|
|
@ -67,9 +67,8 @@ jobs:
|
|||
|
||||
- name: Checkout meson from ret2libc git
|
||||
run: |
|
||||
git clone https://github.com/ret2libc/meson.git
|
||||
git clone --depth 1 -b tiny-cc https://github.com/ret2libc/meson.git
|
||||
cd meson
|
||||
git checkout tiny-cc
|
||||
python3 setup.py build
|
||||
sudo python3 setup.py install
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue