9
9
toolchain : [stable, nightly]
10
10
steps :
11
11
- uses : actions/checkout@v4
12
- - name : Install llvm and clang
13
- run : brew install llvm
14
- - name : Install stable
15
- uses : actions-rs/toolchain@v1
12
+ - name : Install LLVM and Clang
13
+
14
+ with :
15
+ version : " 15.0"
16
+ - uses : dtolnay/rust-toolchain@master
16
17
with :
17
- profile : minimal
18
18
toolchain : ${{ matrix.toolchain }}
19
- override : true
20
19
- name : cargo test
21
20
run : cargo test --verbose
22
21
- name : cargo test - no features
@@ -25,24 +24,22 @@ jobs:
25
24
run : cargo test --all-features --verbose
26
25
27
26
ios-check :
28
- runs-on : macOS-latest
27
+ runs-on : macOS-14
29
28
strategy :
30
29
matrix :
31
30
toolchain : [stable, nightly]
32
31
target : [aarch64-apple-ios, x86_64-apple-ios, aarch64-apple-ios-sim]
33
32
steps :
34
33
- uses : actions/checkout@v4
35
- - name : Install stable rust toolchain
36
- uses : actions-rs/toolchain@v1
34
+ - uses : dtolnay/rust-toolchain@master
37
35
with :
38
- profile : minimal
39
36
toolchain : ${{ matrix.toolchain }}
40
- override : true
37
+ targets : ${{ matrix.target }}
41
38
42
39
- name : Install LLVM and Clang
43
40
44
41
with :
45
- version : " 13 .0"
42
+ version : " 15 .0"
46
43
47
44
- name : add ios targets
48
45
run : rustup target add ${{matrix.target}}
@@ -55,14 +52,13 @@ jobs:
55
52
runs-on : macOS-latest
56
53
steps :
57
54
- uses : actions/checkout@v4
58
- - name : Install llvm and clang
59
- run : brew install llvm
60
- - name : Install stable
61
- uses : actions-rs/toolchain@v1
55
+ - name : Install LLVM and Clang
56
+
57
+ with :
58
+ version : " 15.0"
59
+ - uses : dtolnay/rust-toolchain@master
62
60
with :
63
- profile : minimal
64
61
toolchain : stable
65
- override : true
66
62
- name : cargo doc - all features
67
63
run : cargo doc --all-features --verbose
68
64
@@ -75,14 +71,13 @@ jobs:
75
71
runs-on : macOS-latest
76
72
steps :
77
73
- uses : actions/checkout@v4
78
- - name : Install llvm and clang
79
- run : brew install llvm
80
- - name : Install stable
81
- uses : actions-rs/toolchain@v1
74
+ - name : Install LLVM and Clang
75
+
76
+ with :
77
+ version : " 15.0"
78
+ - uses : dtolnay/rust-toolchain@master
82
79
with :
83
- profile : minimal
84
80
toolchain : stable
85
- override : true
86
81
- name : cargo publish
87
82
continue-on-error : true
88
83
run : cargo publish --token $CRATESIO_TOKEN
0 commit comments