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 a1228cb
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ jobs:
strategy:
fail-fast: false
matrix:
build: [stable, beta, nightly, linux32, macos, aarch64-ios, win64, windows-latest]
include:
- build: stable
os: ubuntu-latest
Expand All @@ -29,7 +28,7 @@ jobs:
- build: anaconda linux
os: ubuntu-latest
rust: stable
target: i686-unknown-linux-gnu
target: x86_64-unknown-linux-gnu
- build: macos
os: macos-latest
rust: stable
Expand All @@ -38,10 +37,6 @@ jobs:
os: macos-latest
rust: stable
target: x86_64-apple-darwin
- build: aarch64-ios
os: macos-latest
rust: stable
target: aarch64-apple-ios
- build: windows-aarch64
os: windows-latest
rust: stable
Expand All @@ -58,6 +53,8 @@ jobs:
- uses: actions/checkout@master
- run: git submodule init
- run: git submodule update
- run: sudo apt install gcc-multilib
if: startsWith(matrix.os, 'ubuntu')
- uses: actions/setup-python@v5
with:
python-version: '3.12'
Expand All @@ -71,8 +68,9 @@ 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 default ${{ matrix.rust }}-${{ 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 +86,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 a1228cb

Please sign in to comment.