Skip to content

Commit

Permalink
CI: use rust 1.80 and recent nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
astraw committed Jul 27, 2024
1 parent db521d2 commit f9c4ce8
Showing 1 changed file with 12 additions and 13 deletions.
25 changes: 12 additions & 13 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,8 @@ test_flydra2:
# TODO: test 3D retracking using `rust-cam-testing-data`
# cargo run --bin braid-offline-retrack -- -d ..\..\rust-cam-testing-data\20200622_111457.braid -o tmp

test_crates_rust_1_76:
image: rust:1.76
test_crates_rust_1_80:
image: rust:1.80
script:
- apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y llvm-dev libclang-dev clang

Expand Down Expand Up @@ -254,7 +254,6 @@ test_crates_rust_1_76:
- cargo test
- cd ../..


# Test media-utils/strand-convert
- cd media-utils/strand-convert
- cargo test -- --test-threads 1
Expand Down Expand Up @@ -288,21 +287,21 @@ test_crates_rust_1_76:
- cd ../..

test_crates_rust_nightly:
image: rust:1.76
image: rust:1.80
script:
- export RUSTFLAGS="-D warnings"

# Use known good nightly
- rustup update --no-self-update nightly-2024-02-09
- rustup update --no-self-update nightly-2024-07-25

# Test imops with nightly features
- cd imops
- cargo +nightly-2024-02-09 test --no-default-features --features std,simd
- cargo +nightly-2024-07-25 test --no-default-features --features std,simd
- cd ..

# Test fastfreeimage
- cd fastfreeimage
- cargo +nightly-2024-02-09 test --features portsimd
- cargo +nightly-2024-07-25 test --features portsimd
- cd ..

test_flydra_feature_detector:
Expand Down Expand Up @@ -369,7 +368,7 @@ led-box-standalone-ubuntu2004-deb:
name: "led-box-standalone-debs-${CI_COMMIT_SHA}"

build-freemovr-calibration:
image: rust:1.76
image: rust:1.80
script:
- export RUSTFLAGS="-D warnings"
- cd freemovr-calibration/freemovr-calibration-cli
Expand All @@ -384,7 +383,7 @@ build-freemovr-calibration:
name: "freemovr-cal-linux-${CI_COMMIT_SHA}"

build-freemovr-calibration-webapp:
image: rust:1.76
image: rust:1.80
script:
- export RUSTFLAGS="-D warnings"
- export PATH="$PATH:$CARGO_HOME/bin"
Expand Down Expand Up @@ -1002,7 +1001,7 @@ fmf-cli-ubuntu2204:
name: "fmf-cli-ubuntu2204-${CI_COMMIT_SHA}"

braid-webapps:
image: rust:1.76
image: rust:1.80
script:
- export RUSTFLAGS="-D warnings"

Expand Down Expand Up @@ -1101,7 +1100,7 @@ braid-ubuntu2204:
name: "braid-ubuntu2204-${CI_COMMIT_SHA}"

led-box-linux:
image: rust:1.76
image: rust:1.80
script:
- apt-get update
- DEBIAN_FRONTEND=noninteractive apt-get install -y libudev-dev
Expand All @@ -1117,7 +1116,7 @@ led-box-linux:
name: "led-box-linux-${CI_COMMIT_SHA}"

led-box-firmware:
image: rust:1.76
image: rust:1.80
script:
- rustc --version
- cd led-box-firmware
Expand Down Expand Up @@ -1261,7 +1260,7 @@ build_simple:
- cargo build --release

test_user_guide:
image: rust:1.76
image: rust:1.80
script:
- cd strand-braid-user/users-guide
- curl -sSL https://github.com/rust-lang/mdBook/releases/download/v0.4.18/mdbook-v0.4.18-x86_64-unknown-linux-gnu.tar.gz | tar -xz
Expand Down

0 comments on commit f9c4ce8

Please sign in to comment.