diff --git a/.github/workflows/build-emu.yml b/.github/workflows/build-emu.yml new file mode 100644 index 0000000..afc5b74 --- /dev/null +++ b/.github/workflows/build-emu.yml @@ -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 diff --git a/.github/workflows/build-vst.yml b/.github/workflows/build-vst.yml new file mode 100644 index 0000000..2dc72b2 --- /dev/null +++ b/.github/workflows/build-vst.yml @@ -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