File tree Expand file tree Collapse file tree 2 files changed +38
-3
lines changed Expand file tree Collapse file tree 2 files changed +38
-3
lines changed Original file line number Diff line number Diff line change
1
+ version : 2
2
+ updates :
3
+
4
+ - package-ecosystem : " github-actions"
5
+ directory : " /"
6
+ schedule :
7
+ # Check for updates to GitHub Actions every weekday
8
+ interval : " daily"
9
+
10
+ # Maintain dependencies for Cargo
11
+ - package-ecosystem : " cargo"
12
+ directory : " /"
13
+ schedule :
14
+ interval : " daily"
Original file line number Diff line number Diff line change @@ -24,10 +24,31 @@ jobs:
24
24
- name : cargo test - all features
25
25
run : cargo test --all-features --verbose
26
26
27
+ ios-check :
28
+ runs-on : macOS-latest
29
+ strategy :
30
+ matrix :
31
+ toolchain : [stable, nightly]
32
+ target : [aarch64-apple-ios, x86_64-apple-ios, aarch64-apple-ios-sim]
33
+ steps :
34
+ - uses : actions/checkout@v2
35
+ - name : Install stable rust toolchain
36
+ uses : actions-rs/toolchain@v1
37
+ with :
38
+ profile : minimal
39
+ toolchain : ${{ matrix.toolchain }}
40
+ override : true
41
+
42
+ - name : Install LLVM and Clang
43
+ uses : KyleMayes/install-llvm-action@v1.5.0
44
+ with :
45
+ version : " 13.0"
46
+
27
47
- name : add ios targets
28
- run : rustup target add aarch64-apple-ios x86_64-apple-ios
29
- - name : Build ios targets
30
- run : for i in aarch64-apple-ios x86_64-apple-ios; do cargo build --verbose --target=$i; done
48
+ run : rustup target add ${{matrix.target}}
49
+
50
+ - name : Build for iOS target ${{matrix.target}}
51
+ run : cargo build --verbose --target=${{matrix.target}}
31
52
32
53
# Build the docs with all features to make sure docs.rs will work.
33
54
macos-docs :
You can’t perform that action at this time.
0 commit comments