Skip to content

Commit

Permalink
move build/test before nightly toolchain stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
joske committed May 17, 2024
1 parent b4f7ec3 commit 6fe1e48
Showing 1 changed file with 14 additions and 8 deletions.
22 changes: 14 additions & 8 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ jobs:
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 gstreamer1.0-plugins-good libdiscid-dev
- name: Build
run: cargo build --release
- name: Run tests
run: cargo test
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
Expand All @@ -25,10 +29,9 @@ jobs:
args: --all -- --check
- name: check clippy
uses: actions-rs/clippy-check@v1
- name: Build
run: cargo build --release
- name: Run tests
run: cargo test
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-features
- uses: actions/upload-artifact@v3
with:
name: ripperx4-linux
Expand All @@ -41,6 +44,10 @@ jobs:
uses: mozilla-actions/[email protected]
- name: Install glib/gtk dev
run: brew install gtk4 gstreamer libdiscid sccache
- name: Build
run: cargo build --release
- name: Run tests
run: cargo test
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
Expand All @@ -53,10 +60,9 @@ jobs:
args: --all -- --check
- name: check clippy
uses: actions-rs/clippy-check@v1
- name: Build
run: cargo build --release
- name: Run tests
run: cargo test
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-features
- uses: actions/upload-artifact@v3
with:
name: ripperx4-macos
Expand Down

0 comments on commit 6fe1e48

Please sign in to comment.