Skip to content

Commit 388fda4

Browse files
ci: fix macos build
1 parent 4d7c6a9 commit 388fda4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/rust.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,11 @@ jobs:
139139
toolchain: nightly
140140
override: true
141141
components: rustfmt, clippy
142+
- name: Build Rust MacOS
143+
if: runner.os == 'macOS'
144+
run: export CMAKE_POLICY_VERSION_MINIMUM=3.5 && cargo build --verbose --release
142145
- name: Build Rust
146+
if: runner.os != 'macOS'
143147
run: cargo build --verbose --release
144148
- name: Create macOS app bundle
145149
run: |

0 commit comments

Comments
 (0)