Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor updates to ci #98

Merged
merged 2 commits into from
Apr 5, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 19 additions & 24 deletions .github/workflows/coreaudio-sys.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,13 @@ jobs:
toolchain: [stable, nightly]
steps:
- uses: actions/checkout@v4
- name: Install llvm and clang
run: brew install llvm
- name: Install stable
uses: actions-rs/toolchain@v1
- name: Install LLVM and Clang
uses: KyleMayes/install-llvm-action@v2.0.1
with:
version: "15.0"
- 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 @@ -25,24 +24,22 @@ jobs:
run: cargo test --all-features --verbose

ios-check:
runs-on: macOS-latest
runs-on: macOS-14
strategy:
matrix:
toolchain: [stable, nightly]
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
with:
version: "13.0"
version: "15.0"

- name: add ios targets
run: rustup target add ${{matrix.target}}
Expand All @@ -55,14 +52,13 @@ jobs:
runs-on: macOS-latest
steps:
- uses: actions/checkout@v4
- name: Install llvm and clang
run: brew install llvm
- name: Install stable
uses: actions-rs/toolchain@v1
- name: Install LLVM and Clang
uses: KyleMayes/install-llvm-action@v2.0.1
with:
version: "15.0"
- 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 @@ -75,14 +71,13 @@ jobs:
runs-on: macOS-latest
steps:
- uses: actions/checkout@v4
- name: Install llvm and clang
run: brew install llvm
- name: Install stable
uses: actions-rs/toolchain@v1
- name: Install LLVM and Clang
uses: KyleMayes/install-llvm-action@v2.0.1
with:
version: "15.0"
- 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