Skip to content

Commit

Permalink
Use aarch64-apple-ios for anaconda on MacOS
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris00 committed Apr 18, 2024
1 parent e7c70c9 commit 9cd3a8f
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
- build: anaconda macos
os: macos-latest
rust: stable
target: x86_64-apple-darwin
target: aarch64-apple-darwin
- build: aarch64-ios
os: macos-latest
rust: stable
Expand Down Expand Up @@ -71,8 +71,11 @@ jobs:
- name: Install Rust (rustup)
run: rustup update ${{ matrix.rust }} --no-self-update && rustup default ${{ matrix.rust }}
shell: bash
- run: rustup target add ${{ matrix.target }}
- run: |
rustup target add ${{ matrix.target }}
rustup toolchain default stable-${{ matrix.target }}
- run: cargo build -vv
if: ${{ ! startsWith(matrix.build, 'anaconda') }}
- run: cargo test
if: ${{ ! startsWith(matrix.build, 'anaconda') }}
- run: cargo run --example a_simple_example
Expand All @@ -88,4 +91,4 @@ jobs:
run: |
source $($CONDA/bin/conda info --base)/bin/activate
export DYLD_LIBRARY_PATH=$CONDA_PREFIX/lib
cargo run --example a_simple_example
cargo run --example a_simple_example -vv

0 comments on commit 9cd3a8f

Please sign in to comment.