Skip to content

Commit

Permalink
update action
Browse files Browse the repository at this point in the history
  • Loading branch information
joske committed Apr 4, 2024
1 parent 55b1b22 commit e7f2984
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 4 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/rust-linux.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Rust-linux
on: [push, pull_request]
env:
CARGO_TERM_COLOR: always
RUSTC_WRAPPER: sccache
SCCACHE_GHA_ENABLED: "true"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run sccache-cache
uses: mozilla-actions/[email protected]
- name: Install glib/gtk dev
run: sudo apt install -y libgtk-4-dev libgstreamer1.0-dev libdiscid-dev sccache
- name: Build
run: cargo build
- name: Run tests
run: cargo test
- uses: actions/upload-artifact@v4
with:
name: ripperx4
path: target/debug/ripperx4
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Rust
name: Rust-macOS
on: [push, pull_request]
env:
CARGO_TERM_COLOR: always
Expand All @@ -8,16 +8,16 @@ jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Run sccache-cache
uses: mozilla-actions/[email protected].3
uses: mozilla-actions/[email protected].4
- name: Install glib/gtk dev
run: brew install gtk4 gstreamer libdiscid sccache
- name: Build
run: cargo build
- name: Run tests
run: cargo test
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: ripperx4
path: target/debug/ripperx4

0 comments on commit e7f2984

Please sign in to comment.