Skip to content

Commit

Permalink
Check Intel macOS build in CI
Browse files Browse the repository at this point in the history
x86_64 tests are covered by the Linux build, but add an Intel macOS
cross-compile to check that case at least compiles, since there is some code
specific to that environment.
  • Loading branch information
robertknight committed Jan 29, 2025
1 parent ee85478 commit 85b93b9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ jobs:
- name: Install Rust nightly toolchain
run: rustup toolchain install nightly
if: ${{ matrix.os == 'ubuntu-latest' }}
- name: Install Rust x86_64-apple-darwin target
run: rustup target add x86_64-apple-darwin
if: ${{ matrix.os == 'macos-14' }}
- name: Cache
uses: actions/cache@v3
with:
Expand Down Expand Up @@ -57,6 +60,9 @@ jobs:
run: |
make wasm-test wasm-test-simd
if: ${{ matrix.os == 'ubuntu-latest' }}
- name: Build (Intel macOS)
run: cargo check --workspace --target x86_64-apple-darwin
if: ${{ matrix.os == 'macos-14' }}
- name: Lint
run: |
make checkformatting
Expand Down

0 comments on commit 85b93b9

Please sign in to comment.