@@ -3,19 +3,23 @@ on: [push, pull_request]
3
3
jobs :
4
4
# Run cargo test with default, no and all features.
5
5
macos-test :
6
- runs-on : macOS-latest
6
+ runs-on : ${{ matrix.os }}
7
+ strategy :
8
+ matrix :
9
+ os : [macOS-latest]
7
10
steps :
8
11
- uses : actions/checkout@v4
9
- - name : Install llvm and clang
10
- run : brew install llvm
11
- - name : Install stable
12
- uses : actions-rs/toolchain@v1
12
+ - name : Install LLVM and Clang
13
+
14
+ with :
15
+ version : " 15.0"
16
+ - uses : dtolnay/rust-toolchain@master
13
17
with :
14
- profile : minimal
15
18
toolchain : stable
16
- override : true
17
19
- name : cargo test
18
20
run : cargo test --verbose
21
+ - name : Run sign example
22
+ run : cargo run --example sine
19
23
# TODO: These don't work as of 2020-12-06, but they should.
20
24
# - name: cargo test - no features
21
25
# run: cargo test --no-default-features --verbose
@@ -34,14 +38,13 @@ jobs:
34
38
runs-on : macOS-latest
35
39
steps :
36
40
- uses : actions/checkout@v4
37
- - name : Install llvm and clang
38
- run : brew install llvm
39
- - name : Install stable
40
- uses : actions-rs/toolchain@v1
41
+ - name : Install LLVM and Clang
42
+
43
+ with :
44
+ version : " 15.0"
45
+ - uses : dtolnay/rust-toolchain@master
41
46
with :
42
- profile : minimal
43
47
toolchain : stable
44
- override : true
45
48
- name : Add iOS targets
46
49
run : rustup target add aarch64-apple-ios x86_64-apple-ios
47
50
- name : Install cargo lipo
@@ -54,14 +57,13 @@ jobs:
54
57
runs-on : macOS-latest
55
58
steps :
56
59
- uses : actions/checkout@v4
57
- - name : Install llvm and clang
58
- run : brew install llvm
59
- - name : Install stable
60
- uses : actions-rs/toolchain@v1
60
+ - name : Install LLVM and Clang
61
+
62
+ with :
63
+ version : " 15.0"
64
+ - uses : dtolnay/rust-toolchain@master
61
65
with :
62
- profile : minimal
63
66
toolchain : stable
64
- override : true
65
67
- name : cargo doc - all features
66
68
run : cargo doc --all-features --verbose
67
69
@@ -74,14 +76,13 @@ jobs:
74
76
runs-on : macOS-latest
75
77
steps :
76
78
- uses : actions/checkout@v4
77
- - name : Install llvm and clang
78
- run : brew install llvm
79
- - name : Install stable
80
- uses : actions-rs/toolchain@v1
79
+ - name : Install LLVM and Clang
80
+
81
+ with :
82
+ version : " 15.0"
83
+ - uses : dtolnay/rust-toolchain@master
81
84
with :
82
- profile : minimal
83
85
toolchain : stable
84
- override : true
85
86
- name : cargo publish
86
87
continue-on-error : true
87
88
run : cargo publish --token $CRATESIO_TOKEN
0 commit comments