2023-04-06 13:13:59 +10:00
|
|
|
name: Build VST
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: [ "main" ]
|
2023-04-06 13:20:40 +10:00
|
|
|
# paths: ["gb-vst/**", "lib/**", "vendored/**"]
|
2023-04-06 13:13:59 +10:00
|
|
|
|
|
|
|
env:
|
|
|
|
CARGO_TERM_COLOR: always
|
|
|
|
|
|
|
|
jobs:
|
2023-04-06 14:04:41 +10:00
|
|
|
build-linux:
|
|
|
|
runs-on: ubuntu-latest
|
2023-04-06 13:13:59 +10:00
|
|
|
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v3
|
2023-04-06 14:04:41 +10:00
|
|
|
- uses: awalsh128/cache-apt-pkgs-action@latest
|
|
|
|
with:
|
|
|
|
packages: libasound2-dev libudev-dev xorg-dev libjack-jackd2-dev
|
|
|
|
version: 1.0
|
|
|
|
- run: rustup update nightly && rustup default nightly
|
|
|
|
- run: git submodule update --init --recursive
|
|
|
|
- run: cargo xtask bundle-universal vst --verbose --release
|
2023-04-06 13:13:59 +10:00
|
|
|
|
|
|
|
build-mac:
|
|
|
|
runs-on: macos-latest
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v3
|
2023-04-06 14:04:41 +10:00
|
|
|
- run: git submodule update --init --recursive
|
|
|
|
- run: cargo xtask bundle-universal vst --verbose --release
|