update action #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Rust-macOS | |
on: [push, pull_request] | |
env: | |
CARGO_TERM_COLOR: always | |
RUSTC_WRAPPER: sccache | |
SCCACHE_GHA_ENABLED: "true" | |
jobs: | |
build: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Run sccache-cache | |
uses: mozilla-actions/[email protected] | |
- 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@v4 | |
with: | |
name: ripperx4 | |
path: target/debug/ripperx4 |