Skip to content

Commit

Permalink
macos: install llvm
Browse files Browse the repository at this point in the history
  • Loading branch information
james-rms committed Sep 6, 2024
1 parent 6ecc19b commit d0e32c3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,14 @@ jobs:
run: cargo build --release
- name: unit tests
run: cargo test -- --nocapture
- name: (MacOS) install LLVM
uses: KyleMayes/install-llvm-action@v2
if: "${{ matrix.platform == 'macos-latest' }}"
with:
version: "17"
- name: (MacOS) set LLVM as CC
if: "${{ matrix.platform == 'macos-latest' }}"
run: echo "CC=$(pwd)/llvm/bin/clang-17" >> $GITHUB_ENV
- name: build (wasm32)
run: cargo build --target wasm32-unknown-unknown
- name: check (wasm32)
Expand Down

0 comments on commit d0e32c3

Please sign in to comment.