Skip to content

Commit

Permalink
ci: use dev or stable rz-bindgen branches
Browse files Browse the repository at this point in the history
  • Loading branch information
XVilka committed Dec 19, 2024
1 parent b93156a commit 100f201
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -862,11 +862,12 @@ jobs:
export PATH=$PATH:/usr/local/bin
meson setup --prefix=/usr --buildtype=release build && ninja -C build && sudo ninja -C build install
working-directory: rizin
- name: Checkout rz-bindgen
uses: actions/checkout@v4
with:
repository: rizinorg/rz-bindgen
path: rz-bindgen
- name: Checkout rz-bindgen (stable)
if: github.ref == 'refs/heads/stable'
run: git clone -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
- name: Build rz-bindgen
run: |
meson setup --prefix=/usr -Dplugin=enabled build
Expand Down
11 changes: 6 additions & 5 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,12 @@ jobs:
uses: actions/checkout@v4
with:
path: rizin
- name: Checkout rz-bindgen
uses: actions/checkout@v4
with:
repository: rizinorg/rz-bindgen
path: rz-bindgen
- name: Checkout rz-bindgen (stable)
if: github.ref == 'refs/heads/stable'
run: git clone -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
- name: Install dependencies
run: |
sudo pip install meson ninja
Expand Down

0 comments on commit 100f201

Please sign in to comment.