Skip to content

Commit

Permalink
CI: build and test separately
Browse files Browse the repository at this point in the history
Signed-off-by: Nico Burns <[email protected]>
  • Loading branch information
nicoburns committed Dec 16, 2024
1 parent 6ecf49b commit 2aa7738
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,16 @@ jobs:
- run: sudo apt update; sudo apt install libgtk-3-dev libxdo-dev
- run: cargo build --workspace

build-features-default:
name: "Build [default features]"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- run: perl -pi.bak -e 's/opt-level = 2/opt-level = 0/g' Cargo.toml
- run: sudo apt update; sudo apt install libgtk-3-dev libxdo-dev
- run: cargo build --workspace

test-features-default:
name: "Test [default features]"
runs-on: ubuntu-latest
Expand All @@ -42,7 +52,6 @@ jobs:
- uses: dtolnay/rust-toolchain@stable
- run: perl -pi.bak -e 's/opt-level = 2/opt-level = 0/g' Cargo.toml
- run: sudo apt update; sudo apt install libgtk-3-dev libxdo-dev
- run: cargo build --workspace
- run: cargo test --workspace

fmt:
Expand Down

0 comments on commit 2aa7738

Please sign in to comment.