Skip to content

Commit 40e9938

Browse files
committed
feat: initial commit
1 parent 0d9bc86 commit 40e9938

37 files changed

+6229
-0
lines changed

.github/workflows/continuous.yml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
name: Rust
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
8+
9+
env:
10+
CARGO_TERM_COLOR: always
11+
12+
jobs:
13+
build:
14+
strategy:
15+
matrix:
16+
os:
17+
- windows
18+
- ubuntu
19+
runs-on: ${{ matrix.os }}-latest
20+
21+
steps:
22+
- uses: actions/checkout@v2
23+
24+
- name: Dependencies (Linux)
25+
if: matrix.os == 'ubuntu'
26+
run: sudo apt install libdbus-1-dev libpango1.0-dev libatk1.0-dev libsoup2.4-dev libgtk-3-dev libwebkit2gtk-4.0-dev libappindicator3-dev
27+
28+
- name: Dependencies (Windows)
29+
if: matrix.os == 'windows'
30+
run: echo "nothing here"
31+
32+
33+
- name: Build
34+
run: cargo build
35+
- name: Build (optimzed)
36+
run: |
37+
RUSTFLAGS='-C link-arg=-s' cargo build --release
38+
mkdir _release
39+
mv target/release/lyrix-*
40+
41+
- uses: actions/upload-artifact@v2
42+
with:
43+
name: ${{matrix.os}}-release
44+
path: _release
45+

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
/.flatpak
2+
/.vscode
3+
target
4+
5+

0 commit comments

Comments
 (0)