File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change 80
80
- name : Run clippy nightly for benches
81
81
run : cargo +nightly clippy --all-features --benches
82
82
83
+ check :
84
+ strategy :
85
+ fail-fast : false
86
+ matrix :
87
+ os : ['ubuntu-latest', 'windows-latest', 'macos-latest']
88
+ target : ['', 'x86_64-apple-ios']
89
+ runs-on : ${{ matrix.os }}
90
+ defaults :
91
+ run :
92
+ shell : bash
93
+ steps :
94
+ - name : Checkout repository
95
+ uses : actions/checkout@v2
96
+ - name : Install dependencies
97
+ if : matrix.os == 'ubuntu-latest'
98
+ run : sudo bash ./.github/workflows/install-deps.sh
99
+ - name : Install Rust target
100
+ if : matrix.target != ''
101
+ run : rustup target add ${{ matrix.target }}
102
+ - name : Restore cargo caches
103
+ uses : Swatinem/rust-cache@v1
104
+ - name : Run check
105
+ run : |
106
+ if [[ -z "${{ matrix.target }}" ]]; then
107
+ cargo check --all-features
108
+ else
109
+ cargo check --all-features --target ${{ matrix.target }}
110
+ fi
111
+
83
112
check-doc :
84
113
strategy :
85
114
fail-fast : false
You can’t perform that action at this time.
0 commit comments