Skip to content

Commit 44797ae

Browse files
committed
chore: maybe add some CI, untested because act was being a pain
1 parent e94208e commit 44797ae

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/build.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Build with cargo
2+
3+
on: [push, pull_request]
4+
5+
env:
6+
CARGO_TERM_COLOR: always
7+
8+
jobs:
9+
build:
10+
name: Build
11+
12+
runs-on: ubuntu-24.04
13+
14+
steps:
15+
- name: Checkout code
16+
uses: actions/checkout@v4
17+
- name: Cache build artifacts
18+
uses: actions/cache@v4
19+
with:
20+
path: target/**
21+
key: cargo
22+
- name: Install rust toolchain
23+
run: rustup update stable && rustup default stable && rustup target add x86_64-unknown-linux-musl
24+
- name: Build with cargo
25+
run: cargo build --verbose --release --target x86_64-unknown-linux-musl
26+
- name: Upload artifacts
27+
uses: actions/upload-artifact@v4
28+
with:
29+
name: loudness-server
30+
path: target/release/loudness-server

0 commit comments

Comments
 (0)