more things

This commit is contained in:
Alex Janka 2023-04-06 14:15:05 +10:00
parent 668d56e7bd
commit 748b56d842
3 changed files with 43 additions and 6 deletions

View file

@ -14,13 +14,26 @@ jobs:
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
target: aarch64-unknown-linux-gnu, x86_64-unknown-linux-gnu
- uses: awalsh128/cache-apt-pkgs-action@latest - uses: awalsh128/cache-apt-pkgs-action@latest
with: with:
packages: libasound2-dev libudev-dev packages: libasound2-dev libudev-dev
version: 1.0 version: 1.0
- run: rustup update nightly && rustup default nightly
- run: git submodule update --init --recursive - run: git submodule update --init --recursive
- run: cargo build --verbose --release - uses: actions-rs/cargo@v1
with:
use-cross: true
command: build
args: --release --target aarch64-unknown-linux-gnu
- uses: actions-rs/cargo@v1
with:
use-cross: true
command: build
args: --release --target x86_64-unknown-linux-gnu
build-mac: build-mac:
@ -28,8 +41,15 @@ jobs:
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
- run: git submodule update --init --recursive - run: git submodule update --init --recursive
- run: cargo build --verbose --release - uses: actions-rs/cargo@v1
with:
use-cross: true
command: build
build-windows: build-windows:
@ -37,7 +57,13 @@ jobs:
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
- run: git submodule update --init --recursive - run: git submodule update --init --recursive
- run: cargo build --verbose --release - uses: actions-rs/cargo@v1
with:
use-cross: true
command: build

View file

@ -3,7 +3,7 @@ name: Build VST
on: on:
push: push:
branches: [ "main" ] branches: [ "main" ]
# paths: ["gb-vst/**", "lib/**", "vendored/**"] paths: ["gb-vst/**", "lib/**", "vendored/**"]
env: env:
CARGO_TERM_COLOR: always CARGO_TERM_COLOR: always
@ -29,3 +29,12 @@ jobs:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- run: git submodule update --init --recursive - run: git submodule update --init --recursive
- run: cargo xtask bundle-universal vst --verbose --release - run: cargo xtask bundle-universal vst --verbose --release
build-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- run: git submodule update --init --recursive
- run: cargo xtask bundle vst --verbose --release

2
rust-toolchain.toml Normal file
View file

@ -0,0 +1,2 @@
[toolchain]
channel = "nightly"