Skip to content

Commit f35517d

Browse files
committed
Set the BINARYNINJADIR so rust can find binaryninjacore in CI
The chances of this working are low
1 parent bc8cdca commit f35517d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/rust.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ jobs:
2323
run: sudo apt-get install libwayland-dev
2424
# Pull in Binary Ninja
2525
- name: Setup Binary Ninja
26+
id: setup-binja
2627
uses: Vector35/setup-binary-ninja@v1-beta
2728
with:
2829
license: '${{ secrets.BN_SERIAL }}'
@@ -31,6 +32,8 @@ jobs:
3132
- name: Test
3233
# For now, we run the tests single threaded, there are some data races in core around platform types
3334
run: cargo test --all-features -- --test-threads=1
35+
env:
36+
BINARYNINJADIR: ${{ steps.setup-binja.outputs.install-path }}
3437

3538
# Check lints with clippy
3639
clippy:

0 commit comments

Comments
 (0)