-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (45 loc) · 1.45 KB
/
build_release_master.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
name: Build Master Release
on: [push, workflow_dispatch]
jobs:
build-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install deps
run: sudo apt install libasound2-dev libdbus-1-dev pkg-config libjack-jackd2-dev
- name: Build Linux Release
run: cargo build --release --features "backend-rodio"
- name: Upload Linux Artifact
uses: actions/upload-artifact@v4
with:
name: linux_binary
path: target/release/ompl
- name: Build Linux Release (Jack)
run: cargo build --release --features "backend-rodio jack"
- name: Upload Linux Artifact (Jack)
uses: actions/upload-artifact@v4
with:
name: linux_binary_jack
path: target/release/ompl
build-macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Build MacOs Release
run: cargo build --release --features "backend-rodio"
- name: Upload MacOS Artifact
uses: actions/upload-artifact@v4
with:
name: macos_binary
path: target/release/ompl
build-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Build Windows Release
run: cargo build --release --features "backend-rodio"
- name: Upload Windows Artifact
uses: actions/upload-artifact@v4
with:
name: windows_exe
path: target/release/ompl.exe