-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Move to llvm action rather than homebrew line * Run sine example in ci * Bump version to 0.12.0.
- Loading branch information
Showing
3 changed files
with
28 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,19 +3,23 @@ on: [push, pull_request] | |
jobs: | ||
# Run cargo test with default, no and all features. | ||
macos-test: | ||
runs-on: macOS-latest | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [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/[email protected] | ||
with: | ||
version: "15.0" | ||
- uses: dtolnay/rust-toolchain@master | ||
with: | ||
profile: minimal | ||
toolchain: stable | ||
override: true | ||
- name: cargo test | ||
run: cargo test --verbose | ||
- name: Run sign example | ||
run: cargo run --example sine | ||
# TODO: These don't work as of 2020-12-06, but they should. | ||
# - name: cargo test - no features | ||
# run: cargo test --no-default-features --verbose | ||
|
@@ -34,14 +38,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/[email protected] | ||
with: | ||
version: "15.0" | ||
- uses: dtolnay/rust-toolchain@master | ||
with: | ||
profile: minimal | ||
toolchain: stable | ||
override: true | ||
- name: Add iOS targets | ||
run: rustup target add aarch64-apple-ios x86_64-apple-ios | ||
- name: Install cargo lipo | ||
|
@@ -54,14 +57,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/[email protected] | ||
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 | ||
|
||
|
@@ -74,14 +76,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/[email protected] | ||
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "coreaudio-rs" | ||
version = "0.11.3" | ||
version = "0.12.0" | ||
authors = ["mitchmindtree <[email protected]>", "yupferris <[email protected]>"] | ||
description = "A friendly rust interface for Apple's CoreAudio API." | ||
keywords = ["core", "audio", "unit", "osx", "ios"] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters