Skip to content

Commit 52591c0

Browse files
committed
Init
0 parents  commit 52591c0

File tree

8 files changed

+963
-0
lines changed

8 files changed

+963
-0
lines changed

.cargo/config.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[build]
2+
target = "x86_64-unknown-linux-musl"
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Build & Release on Tag
2+
on:
3+
push:
4+
tags:
5+
- '*'
6+
jobs:
7+
build-and-release:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Install MUSL for "x86_64-unknown-linux-musl" target
11+
run: sudo apt install -y musl-tools
12+
- name: Checkout code
13+
uses: actions/checkout@v5
14+
- uses: dtolnay/rust-toolchain@master
15+
with:
16+
toolchain: stable
17+
- name: Add "x86_64-unknown-linux-musl" target
18+
run: rustup target add x86_64-unknown-linux-musl
19+
- uses: Swatinem/rust-cache@v2
20+
with:
21+
key: stable
22+
- name: Build release
23+
run: cargo build --release
24+
- name: Upload release binary as artifact
25+
uses: actions/upload-artifact@v4
26+
with:
27+
name: wav-files-format
28+
path: target/x86_64-unknown-linux-musl/release/wav-files-format
29+
- name: Create GitHub Release & Upload Asset
30+
uses: softprops/action-gh-release@v2
31+
with:
32+
files: target/x86_64-unknown-linux-musl/release/wav-files-format
33+
env:
34+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
/target
2+
.DS_Store

0 commit comments

Comments
 (0)