Skip to content

Commit

Permalink
CI run cargo check for iOS target
Browse files Browse the repository at this point in the history
  • Loading branch information
SpriteOvO committed Sep 6, 2023
1 parent 4fad447 commit c47cfc1
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,35 @@ jobs:
- name: Run clippy nightly for benches
run: cargo +nightly clippy --all-features --benches

check:
strategy:
fail-fast: false
matrix:
os: ['ubuntu-latest', 'windows-latest', 'macos-latest']
target: ['', 'x86_64-apple-ios']
runs-on: ${{ matrix.os }}
defaults:
run:
shell: bash
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Install dependencies
if: matrix.os == 'ubuntu-latest'
run: sudo bash ./.github/workflows/install-deps.sh
- name: Install Rust target
if: matrix.target != ''
run: rustup target add ${{ matrix.target }}
- name: Restore cargo caches
uses: Swatinem/rust-cache@v1
- name: Run check
run: |
if [[ -z "${{ matrix.target }}" ]]; then
cargo check --all-features
else
cargo check --all-features --target ${{ matrix.target }}
fi
check-doc:
strategy:
fail-fast: false
Expand Down

0 comments on commit c47cfc1

Please sign in to comment.