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 17, 2024
1 parent e7c70c9 commit 5639375
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 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-ios
- build: aarch64-ios
os: macos-latest
rust: stable
Expand Down Expand Up @@ -73,6 +73,7 @@ jobs:
shell: bash
- run: rustup target add ${{ 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 @@ -86,6 +87,7 @@ jobs:
- name: Run example with Anaconda on MacOS
if: startsWith(matrix.build, 'anaconda macos')
run: |
$CONDA/bin/conda init zsh
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 5639375

Please sign in to comment.