Skip to content

Commit

Permalink
Update rust.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
LuckyTurtleDev committed May 19, 2023
1 parent 5d8aeec commit b11ab68
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ jobs:
runs-on: ${{ matrix.os }}-latest
steps:
- uses: actions/checkout@v3
- name: Install SDL2 Linux
if: ${{ matrix.os == 'ubuntu' }}
run: sudo apt-get update && sudo apt-get install -y libsdl2-dev
- uses: dtolnay/rust-toolchain@stable
id: "rust-toolchain"
- uses: actions/cache@v3
Expand All @@ -32,12 +29,10 @@ jobs:
- run: cargo test --all-features -p m3-models
env:
RUST_BACKTRACE: 1
- run: cargo test --features sdl2_bundled -p m3-pc -p m3-map -p m3-macro
if: ${{ matrix.os == 'windows' }}
- run: cargo test --all-features -p m3-map
env:
RUST_BACKTRACE: 1
- run: cargo test -p m3-pc
if: ${{ matrix.os != 'windows' }}
- run: cargo test --all-features -p m3-pc
env:
RUST_BACKTRACE: 1

Expand Down

0 comments on commit b11ab68

Please sign in to comment.