Skip to content

Commit

Permalink
feat: initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
srevinsaju committed Jan 22, 2022
1 parent 0d9bc86 commit 40e9938
Show file tree
Hide file tree
Showing 37 changed files with 6,229 additions and 0 deletions.
45 changes: 45 additions & 0 deletions .github/workflows/continuous.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Rust

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

env:
CARGO_TERM_COLOR: always

jobs:
build:
strategy:
matrix:
os:
- windows
- ubuntu
runs-on: ${{ matrix.os }}-latest

steps:
- uses: actions/checkout@v2

- name: Dependencies (Linux)
if: matrix.os == 'ubuntu'
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

- name: Dependencies (Windows)
if: matrix.os == 'windows'
run: echo "nothing here"


- name: Build
run: cargo build
- name: Build (optimzed)
run: |
RUSTFLAGS='-C link-arg=-s' cargo build --release
mkdir _release
mv target/release/lyrix-*
- uses: actions/upload-artifact@v2
with:
name: ${{matrix.os}}-release
path: _release

5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
/.flatpak
/.vscode
target


Loading

0 comments on commit 40e9938

Please sign in to comment.