From dc8d8cd454a4ea54528572fae9f1f850ff09779f Mon Sep 17 00:00:00 2001 From: Alex Janka Date: Thu, 6 Apr 2023 13:13:59 +1000 Subject: [PATCH] actions --- .github/workflows/build-emu.yml | 22 ++++++++++++++++++++++ .github/workflows/build-vst.yml | 30 ++++++++++++++++++++++++++++++ 2 files changed, 52 insertions(+) create mode 100644 .github/workflows/build-emu.yml create mode 100644 .github/workflows/build-vst.yml 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