Skip to content

Commit

Permalink
Update rust install github action
Browse files Browse the repository at this point in the history
  • Loading branch information
simlay committed Apr 5, 2024
1 parent 1932773 commit 824fbbb
Showing 1 changed file with 5 additions and 16 deletions.
21 changes: 5 additions & 16 deletions .github/workflows/coreaudio-sys.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,9 @@ jobs:
uses: KyleMayes/install-llvm-action@v2.0.1
with:
version: "15.0"
- name: Install stable
uses: actions-rs/toolchain@v1
- uses: dtolnay/rust-toolchain@master
with:
profile: minimal
toolchain: ${{ matrix.toolchain }}
override: true
- name: cargo test
run: cargo test --verbose
- name: cargo test - no features
Expand All @@ -34,12 +31,10 @@ jobs:
target: [aarch64-apple-ios, x86_64-apple-ios, aarch64-apple-ios-sim]
steps:
- uses: actions/checkout@v4
- name: Install stable rust toolchain
uses: actions-rs/toolchain@v1
- uses: dtolnay/rust-toolchain@master
with:
profile: minimal
toolchain: ${{ matrix.toolchain }}
override: true
targets: ${{ matrix.target }}

- name: Install LLVM and Clang
uses: KyleMayes/install-llvm-action@v2.0.1
Expand All @@ -61,12 +56,9 @@ jobs:
uses: KyleMayes/install-llvm-action@v2.0.1
with:
version: "15.0"
- name: Install stable
uses: actions-rs/toolchain@v1
- uses: dtolnay/rust-toolchain@master
with:
profile: minimal
toolchain: stable
override: true
- name: cargo doc - all features
run: cargo doc --all-features --verbose

Expand All @@ -83,12 +75,9 @@ jobs:
uses: KyleMayes/install-llvm-action@v2.0.1
with:
version: "15.0"
- name: Install stable
uses: actions-rs/toolchain@v1
- uses: dtolnay/rust-toolchain@master
with:
profile: minimal
toolchain: stable
override: true
- name: cargo publish
continue-on-error: true
run: cargo publish --token $CRATESIO_TOKEN

0 comments on commit 824fbbb

Please sign in to comment.