-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (39 loc) · 998 Bytes
/
compile.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
name: Compile
on:
- push
- pull_request
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install alsa
run: sudo apt update; sudo apt install libasound2-dev
- name: Build
run: cargo build --release -p liberty_chess_gui
- uses: actions/upload-artifact@v4
with:
name: liberty-chess-gui
path: target/release/liberty_chess_gui
oxidation:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build
run: cargo build --release --bin oxidation
- uses: actions/upload-artifact@v4
with:
name: oxidation
path: target/release/oxidation
oxidation_windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Build
run: cargo build --release --bin oxidation
- uses: actions/upload-artifact@v4
with:
name: oxidation-windows
path: target/release/oxidation.exe