This commit is contained in:
Alex Janka 2023-04-06 13:13:59 +10:00
parent 1be8b758d9
commit dc8d8cd454
2 changed files with 52 additions and 0 deletions

22
.github/workflows/build-emu.yml vendored Normal file
View file

@ -0,0 +1,22 @@
name: Build Emulator
on:
push:
branches: [ "main" ]
paths: ["gb-emu/**", "lib/**", "vendored/**"]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- uses: actions/checkout@v3
- name: Build
run: cargo build --verbose --release

30
.github/workflows/build-vst.yml vendored Normal file
View file

@ -0,0 +1,30 @@
name: Build VST
on:
push:
branches: [ "main" ]
paths: ["gb-vst/**", "lib/**", "vendored/**"]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
steps:
- uses: actions/checkout@v3
- name: Build
run: cargo xtask bundle vst --verbose --release
build-mac:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- name: Build
run: cargo xtask bundle-universal vst --verbose --release