Skip to content

Commit 27a6b7b

Browse files
authored
Minor updates to ci (#98)
* Minor updates to ci * Update rust install github action
1 parent 25dc035 commit 27a6b7b

File tree

1 file changed

+19
-24
lines changed

1 file changed

+19
-24
lines changed

.github/workflows/coreaudio-sys.yml

+19-24
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,13 @@ jobs:
99
toolchain: [stable, nightly]
1010
steps:
1111
- 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+
uses: KyleMayes/[email protected]
14+
with:
15+
version: "15.0"
16+
- uses: dtolnay/rust-toolchain@master
1617
with:
17-
profile: minimal
1818
toolchain: ${{ matrix.toolchain }}
19-
override: true
2019
- name: cargo test
2120
run: cargo test --verbose
2221
- name: cargo test - no features
@@ -25,24 +24,22 @@ jobs:
2524
run: cargo test --all-features --verbose
2625

2726
ios-check:
28-
runs-on: macOS-latest
27+
runs-on: macOS-14
2928
strategy:
3029
matrix:
3130
toolchain: [stable, nightly]
3231
target: [aarch64-apple-ios, x86_64-apple-ios, aarch64-apple-ios-sim]
3332
steps:
3433
- uses: actions/checkout@v4
35-
- name: Install stable rust toolchain
36-
uses: actions-rs/toolchain@v1
34+
- uses: dtolnay/rust-toolchain@master
3735
with:
38-
profile: minimal
3936
toolchain: ${{ matrix.toolchain }}
40-
override: true
37+
targets: ${{ matrix.target }}
4138

4239
- name: Install LLVM and Clang
4340
uses: KyleMayes/[email protected]
4441
with:
45-
version: "13.0"
42+
version: "15.0"
4643

4744
- name: add ios targets
4845
run: rustup target add ${{matrix.target}}
@@ -55,14 +52,13 @@ jobs:
5552
runs-on: macOS-latest
5653
steps:
5754
- 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+
uses: KyleMayes/[email protected]
57+
with:
58+
version: "15.0"
59+
- uses: dtolnay/rust-toolchain@master
6260
with:
63-
profile: minimal
6461
toolchain: stable
65-
override: true
6662
- name: cargo doc - all features
6763
run: cargo doc --all-features --verbose
6864

@@ -75,14 +71,13 @@ jobs:
7571
runs-on: macOS-latest
7672
steps:
7773
- 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+
uses: KyleMayes/[email protected]
76+
with:
77+
version: "15.0"
78+
- uses: dtolnay/rust-toolchain@master
8279
with:
83-
profile: minimal
8480
toolchain: stable
85-
override: true
8681
- name: cargo publish
8782
continue-on-error: true
8883
run: cargo publish --token $CRATESIO_TOKEN

0 commit comments

Comments
 (0)