maybe fix conditionals
This commit is contained in:
parent
cf99ec6e0f
commit
737fc09547
6
.github/workflows/build-emu.yml
vendored
6
.github/workflows/build-emu.yml
vendored
|
@ -22,7 +22,7 @@ jobs:
|
||||||
toolchain: nightly
|
toolchain: nightly
|
||||||
override: true
|
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:
|
||||||
packages: libasound2-dev libudev-dev
|
packages: libasound2-dev libudev-dev
|
||||||
version: 1.0
|
version: 1.0
|
||||||
|
@ -32,12 +32,12 @@ jobs:
|
||||||
command: build
|
command: build
|
||||||
args: --release
|
args: --release
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v3
|
||||||
if: ${{ matrix.os }} != windows
|
if: ${{ matrix.os != 'windows' }}
|
||||||
with:
|
with:
|
||||||
name: gb-emu-${{ matrix.os }}
|
name: gb-emu-${{ matrix.os }}
|
||||||
path: target/release/gb-emu
|
path: target/release/gb-emu
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v3
|
||||||
if: ${{ matrix.os }} == windows
|
if: ${{ matrix.os == 'windows' }}
|
||||||
with:
|
with:
|
||||||
name: gb-emu-${{ matrix.os }}
|
name: gb-emu-${{ matrix.os }}
|
||||||
path: target/release/gb-emu.exe
|
path: target/release/gb-emu.exe
|
6
.github/workflows/build-vst.yml
vendored
6
.github/workflows/build-vst.yml
vendored
|
@ -22,19 +22,19 @@ jobs:
|
||||||
toolchain: nightly
|
toolchain: nightly
|
||||||
override: true
|
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:
|
||||||
packages: libasound2-dev libudev-dev xorg-dev libjack-jackd2-dev
|
packages: libasound2-dev libudev-dev xorg-dev libjack-jackd2-dev
|
||||||
version: 1.0
|
version: 1.0
|
||||||
- run: rustup update nightly && rustup default nightly
|
- run: rustup update nightly && rustup default nightly
|
||||||
- run: git submodule update --init --recursive
|
- run: git submodule update --init --recursive
|
||||||
- uses: actions-rs/cargo@v1
|
- uses: actions-rs/cargo@v1
|
||||||
if: ${{ matrix.os }} != macos
|
if: ${{ matrix.os != 'macos' }}
|
||||||
with:
|
with:
|
||||||
command: xtask
|
command: xtask
|
||||||
args: bundle vst --release
|
args: bundle vst --release
|
||||||
- uses: actions-rs/cargo@v1
|
- uses: actions-rs/cargo@v1
|
||||||
if: ${{ matrix.os }} == macos
|
if: ${{ matrix.os == 'macos' }}
|
||||||
with:
|
with:
|
||||||
command: xtask
|
command: xtask
|
||||||
args: bundle-universal vst --release
|
args: bundle-universal vst --release
|
||||||
|
|
Loading…
Reference in a new issue