Skip to content

Commit 18587bd

Browse files
committed
Fix the macOS build
1 parent 9e905e6 commit 18587bd

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: Release
22

33
env:
4+
CMAKE_POLICY_VERSION_MINIMUM: "3.5"
45
R2V: 6.0.8
56

67
on:

.github/workflows/rust.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ on:
88

99
env:
1010
CARGO_TERM_COLOR: always
11+
CMAKE_POLICY_VERSION_MINIMUM: "3.5"
1112
R2V: 6.1.2
1213

1314
jobs:
@@ -47,7 +48,7 @@ jobs:
4748
run: |
4849
brew install radare2
4950
- name: Build
50-
run: CMAKE_POLICY_VERSION_MINIMUM=3.5 cargo build --verbose --release
51+
run: cargo build --verbose --release
5152
- name: Run tests
5253
run: cargo test --workspace --verbose --release
5354
- name: Upload artifact

0 commit comments

Comments
 (0)