From 95ea39ca90ac2384f1bd1a244507bd08fb8e4246 Mon Sep 17 00:00:00 2001 From: Alex Janka Date: Thu, 6 Apr 2023 16:09:30 +1000 Subject: [PATCH] fix toolchains --- .github/workflows/build-emu.yml | 7 +------ .github/workflows/build-vst.yml | 7 +------ 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/.github/workflows/build-emu.yml b/.github/workflows/build-emu.yml index f44a794..72407ea 100644 --- a/.github/workflows/build-emu.yml +++ b/.github/workflows/build-emu.yml @@ -19,16 +19,11 @@ jobs: - uses: actions/checkout@v3 - run: git submodule update --init --recursive - uses: actions-rs/toolchain@v1 - if: ${{ matrix.os != 'macos' }} with: toolchain: nightly override: true - - uses: actions-rs/toolchain@v1 + - run: rustup target add x86_64-apple-darwin, aarch64-apple-darwin if: ${{ matrix.os == 'macos' }} - with: - toolchain: nightly - target: x86_64-apple-darwin, aarch64-apple-darwin - override: true - uses: awalsh128/cache-apt-pkgs-action@latest if: ${{ matrix.os == 'ubuntu' }} with: diff --git a/.github/workflows/build-vst.yml b/.github/workflows/build-vst.yml index 405a68e..2772bff 100644 --- a/.github/workflows/build-vst.yml +++ b/.github/workflows/build-vst.yml @@ -24,16 +24,11 @@ jobs: url: 'https://github.com/trash80/mGB/raw/master/Releases/mGB1_3_1.gb' target: test-roms/ - uses: actions-rs/toolchain@v1 - if: ${{ matrix.os != 'macos' }} with: toolchain: nightly override: true - - uses: actions-rs/toolchain@v1 + - run: rustup target add aarch64-apple-darwin x86_64-apple-darwin if: ${{ matrix.os == 'macos' }} - with: - toolchain: nightly - target: x86_64-apple-darwin, aarch64-apple-darwin - override: true - uses: awalsh128/cache-apt-pkgs-action@latest if: ${{ matrix.os == 'ubuntu' }} with: