Skip to content

Update rust.yml

Update rust.yml #1

Workflow file for this run

name: rust
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
env:
CARGO_TERM_COLOR: always
jobs:
build_macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- name: Run bundler
run: cargo xtask bundle scrollscope --profile release
- uses: actions/upload-artifact@v4
with:
name: macos_build
path: target/bundled/scrollscope.vst3
if-no-files-found: warn
build_linux:
runs-on: ubuntu-latest
steps:
- uses: ConorMacBride/install-package@v1.1.0
with:
# Packages to install with apt on Linux
apt: libgl1-mesa-dev libglu1-mesa-dev libxcursor-dev libxkbcommon-x11-dev libatk1.0-dev build-essential libgtk-3-dev libxcb-dri2-0-dev libxcb-icccm4-dev libx11-xcb-dev
- uses: actions/checkout@v3
- name: Run bundler
run: cargo xtask bundle scrollscope --profile release
- uses: actions/upload-artifact@v4
with:
name: linux_build
path: target/bundled/scrollscope.vst3
if-no-files-found: warn
build_windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Run bundler
run: cargo xtask bundle scrollscope --profile release
- uses: actions/upload-artifact@v4
with:
name: windows_build
path: target/bundled/scrollscope.vst3
if-no-files-found: warn