Skip to content

Commit

Permalink
Update pipeline to nightly rust
Browse files Browse the repository at this point in the history
  • Loading branch information
flukejones committed Jul 7, 2024
1 parent 7707a4b commit aa46eb7
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
image: rust:latest
image: rustlang/rust:nightly

.rust_cache: &rust_cache
cache:
Expand All @@ -8,24 +8,24 @@ image: rust:latest

before_script:
- apt-get update -qq && apt install -y libsdl2-dev libsdl2-gfx-dev libsdl2-mixer-dev cmake

stages:
- check
- test
- deploy
- check
- test
- deploy

test:
<<: *rust_cache
script:
- cargo test --verbose --all

check:
<<: *rust_cache
script:
- rustup component add clippy
- rustup component add rustfmt
- cargo fmt --all -- --check
- cargo check --verbose --all
<<: *rust_cache
script:
- rustup component add clippy
- rustup component add rustfmt
- cargo fmt --all -- --check
- cargo check --verbose --all

#clippy:
# <<: *rust_cache
Expand Down

0 comments on commit aa46eb7

Please sign in to comment.