fix toolchains

This commit is contained in:
Alex Janka 2023-04-06 16:09:30 +10:00
parent 431b4456a3
commit 95ea39ca90
2 changed files with 2 additions and 12 deletions

View file

@ -19,16 +19,11 @@ jobs:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- run: git submodule update --init --recursive - run: git submodule update --init --recursive
- uses: actions-rs/toolchain@v1 - uses: actions-rs/toolchain@v1
if: ${{ matrix.os != 'macos' }}
with: with:
toolchain: nightly toolchain: nightly
override: true override: true
- uses: actions-rs/toolchain@v1 - run: rustup target add x86_64-apple-darwin, aarch64-apple-darwin
if: ${{ matrix.os == 'macos' }} if: ${{ matrix.os == 'macos' }}
with:
toolchain: nightly
target: x86_64-apple-darwin, aarch64-apple-darwin
override: true
- uses: awalsh128/cache-apt-pkgs-action@latest - uses: awalsh128/cache-apt-pkgs-action@latest
if: ${{ matrix.os == 'ubuntu' }} if: ${{ matrix.os == 'ubuntu' }}
with: with:

View file

@ -24,16 +24,11 @@ jobs:
url: 'https://github.com/trash80/mGB/raw/master/Releases/mGB1_3_1.gb' url: 'https://github.com/trash80/mGB/raw/master/Releases/mGB1_3_1.gb'
target: test-roms/ target: test-roms/
- uses: actions-rs/toolchain@v1 - uses: actions-rs/toolchain@v1
if: ${{ matrix.os != 'macos' }}
with: with:
toolchain: nightly toolchain: nightly
override: true override: true
- uses: actions-rs/toolchain@v1 - run: rustup target add aarch64-apple-darwin x86_64-apple-darwin
if: ${{ matrix.os == 'macos' }} if: ${{ matrix.os == 'macos' }}
with:
toolchain: nightly
target: x86_64-apple-darwin, aarch64-apple-darwin
override: true
- uses: awalsh128/cache-apt-pkgs-action@latest - uses: awalsh128/cache-apt-pkgs-action@latest
if: ${{ matrix.os == 'ubuntu' }} if: ${{ matrix.os == 'ubuntu' }}
with: with: