Skip to content

Commit

Permalink
add linux workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
joske committed May 17, 2024
1 parent 89015be commit 61e2835
Showing 1 changed file with 19 additions and 3 deletions.
22 changes: 19 additions & 3 deletions .github/workflows/rust-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,23 @@ env:
RUSTC_WRAPPER: sccache
SCCACHE_GHA_ENABLED: "true"
jobs:
build:
build-linux:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v3
- name: Run sccache-cache
uses: mozilla-actions/[email protected]
- name: Install glib/gtk dev
run: sudo apt-get install -y libgtk-4-bin libgtk-4-common libgtk-4-dev libgstreamer1.0-dev
- name: Build
run: cargo build --release
- name: Run tests
run: cargo test
- uses: actions/upload-artifact@v3
with:
name: ripperx4
path: target/release/ripperx4
build-macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -14,10 +30,10 @@ jobs:
- name: Install glib/gtk dev
run: brew install gtk4 gstreamer libdiscid sccache
- name: Build
run: cargo build
run: cargo build --release
- name: Run tests
run: cargo test
- uses: actions/upload-artifact@v4
with:
name: ripperx4
path: target/debug/ripperx4
path: target/release/ripperx4

0 comments on commit 61e2835

Please sign in to comment.