From bd715a8e33af55723902f1343d408b091a5529e2 Mon Sep 17 00:00:00 2001 From: Eugene Hauptmann Date: Thu, 6 Jun 2024 15:13:00 -0400 Subject: [PATCH] apple-tier-3-check * https://github.com/RustAudio/coreaudio-sys/pull/102#discussion_r1629885187 --- .github/workflows/coreaudio-sys.yml | 14 +++++++++----- rust-toolchain.toml | 1 + 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/.github/workflows/coreaudio-sys.yml b/.github/workflows/coreaudio-sys.yml index 7e391ba..cecc903 100644 --- a/.github/workflows/coreaudio-sys.yml +++ b/.github/workflows/coreaudio-sys.yml @@ -6,7 +6,8 @@ jobs: runs-on: macOS-latest strategy: matrix: - toolchain: [stable, nightly] + # toolchain: [stable, nightly] + toolchain: [nightly] steps: - uses: actions/checkout@v4 - name: Install LLVM and Clang @@ -27,7 +28,8 @@ jobs: runs-on: macOS-14 strategy: matrix: - toolchain: [stable, nightly] + # toolchain: [stable, nightly] + toolchain: [nightly] target: [aarch64-apple-ios, x86_64-apple-ios, aarch64-apple-ios-sim] steps: - uses: actions/checkout@v4 @@ -47,7 +49,7 @@ jobs: - name: Build for iOS target ${{matrix.target}} run: cargo build --verbose --target=${{matrix.target}} - visionos-check: + apple-tier-3-check: # TBD: watchOS, tvOS runs-on: macOS-latest strategy: matrix: @@ -73,7 +75,8 @@ jobs: run: find /Applications/Xcode_15.4.app -name AudioUnit.h - name: Build for visionOS target ${{matrix.target}} - run: cargo +nightly build -Z build-std=std,panic_abort --verbose --target=${{matrix.target}} + run: cargo build --verbose --target=${{matrix.target}} + # run: cargo +nightly build -Z build-std=std,panic_abort --verbose --target=${{matrix.target}} # Build the docs with all features to make sure docs.rs will work. macos-docs: @@ -86,7 +89,8 @@ jobs: version: "15.0" - uses: dtolnay/rust-toolchain@master with: - toolchain: stable + # toolchain: stable + toolchain: nightly - name: cargo doc - all features run: cargo doc --all-features --verbose diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 2cf1049..ad306a7 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -2,5 +2,6 @@ channel = "nightly" # channel = "stable" # components = ["rust-std", "rust-src", "rustc-dev", "llvm-tools-preview"] +profile = "minimal" components = ["rust-src", "rustc-dev", "llvm-tools-preview"] targets = ["aarch64-apple-darwin", "aarch64-apple-ios", "aarch64-apple-ios-sim", "aarch64-apple-vision", "aarch64-apple-vision-sim"] \ No newline at end of file