Skip to content

Commit

Permalink
Update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris00 committed Apr 19, 2024
1 parent d65d6be commit de689d5
Showing 1 changed file with 14 additions and 9 deletions.
23 changes: 14 additions & 9 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
strategy:
fail-fast: false
matrix:
build: [stable, stable-vendor, beta, nightly, linux32, macos, aarch64-ios, win64, win64-vendor, windows-latest]
build: [stable, stable-vendor, beta, nightly, linux32, macos, macos-aarch64, win64, win64-vendor, windows-aarch64]
include:
- build: stable
os: ubuntu-latest
Expand All @@ -34,10 +34,11 @@ jobs:
os: macos-latest
rust: stable
target: x86_64-apple-darwin
- build: aarch64-ios
os: macos-latest
- build: macos-aarch64
# Must install app https://github.com/apps/flyci-prod
os: flyci-macos-large-latest-m1
rust: stable
target: aarch64-apple-ios
target: aarch64-apple-darwin
- build: windows-aarch64
os: windows-latest
rust: stable
Expand All @@ -50,10 +51,6 @@ jobs:
os: windows-latest
rust: stable
target: x86_64-pc-windows-msvc
- build: windows-latest
os: windows-latest
rust: stable-x86_64
target: x86_64-pc-windows-msvc
steps:
- uses: actions/checkout@master
- run: git submodule init
Expand All @@ -68,9 +65,17 @@ jobs:
if: startsWith(matrix.os, 'ubuntu') && ! contains(matrix.build, 'vendor')
run: |
sudo apt-get update && sudo apt-get -y install libsundials-dev
- name: Install Linux 32 bit compatibility
if: startsWith(matrix.build, 'linux32')
run: |
sudo dpkg --add-architecture i386
sudo apt-get install gcc-multilib clang:i386
- name: Install Rust (rustup)
run: rustup update ${{ matrix.rust }} --no-self-update && rustup default ${{ matrix.rust }}
run: |
rustup update --no-self-update
rustup default ${{ matrix.rust }}-${{ matrix.target }}
shell: bash
- run: rustup target add ${{ matrix.target }}
- run: cargo build
# - run: cargo build --all-features
- run: cargo test

0 comments on commit de689d5

Please sign in to comment.