-
Notifications
You must be signed in to change notification settings - Fork 121
43 lines (40 loc) · 989 Bytes
/
ci_check_ios.yml
File metadata and controls
43 lines (40 loc) · 989 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: Check iOS
on:
merge_group:
types: [checks_requested]
push:
branches:
- master
paths:
- '**/*.rs'
- '**/Cargo.toml'
- '.github/workflows/ci_check_ios.yml'
pull_request:
branches:
- master
paths:
- '**/*.rs'
- '**/Cargo.toml'
- '.github/workflows/ci_check_ios.yml'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }}
cancel-in-progress: true
jobs:
check_ios:
runs-on: macos-latest
strategy:
matrix:
target:
- aarch64-apple-ios
- aarch64-apple-ios-macabi
steps:
- uses: actions/checkout@v6
- name: Setup Rust Toolchain
run: |
rustup default nightly
rustup target add ${{ matrix.target }}
rustup component add clippy
- name: Check clippy
shell: bash
run: |
cargo clippy --target ${{ matrix.target }} --all-features --all-targets -- -Dwarnings