Skip to content

Commit

Permalink
fix: fix tetanes-core compiling on stable. closes #360
Browse files Browse the repository at this point in the history
  • Loading branch information
lukexor committed Nov 20, 2024
1 parent 2c1f186 commit adc5673
Show file tree
Hide file tree
Showing 3 changed files with 176 additions and 56 deletions.
25 changes: 20 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
components: clippy
- uses: Swatinem/rust-cache@v2
- run: |
cargo clippy --lib --bin tetanes --target wasm32-unknown-unknown --all-features --keep-going -- -D warnings
cargo clippy -p tetanes --target wasm32-unknown-unknown --all-features --keep-going -- -D warnings
lint-tetanes:
name: Lint TetaNES (${{ matrix.os }})
Expand Down Expand Up @@ -91,8 +91,8 @@ jobs:
- run: |
cargo clippy -p tetanes-core --all-features --keep-going -- -D warnings
test:
name: Test
test-tetanes:
name: Test TetaNES
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -104,9 +104,24 @@ jobs:
- uses: Swatinem/rust-cache@v2
- run: |
sudo apt update
sudo apt install -y libudev-dev libasound2-dev
- run: |
cargo test --all-targets --all-features --no-fail-fast
cargo test -p tetanes --all-features --no-fail-fast
test-tetanes-core:
name: Test TetaNES Core
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
- uses: Swatinem/rust-cache@v2
- run: |
sudo apt update
- run: |
cargo test --lib tetanes-core --all-features --no-fail-fast
docs:
name: Docs
Expand Down
Loading

0 comments on commit adc5673

Please sign in to comment.