From 0b5281b56a51fc6b1813e1b1be535ffcb29b2047 Mon Sep 17 00:00:00 2001 From: Heiko Schaefer Date: Thu, 24 Aug 2023 06:30:15 +0200 Subject: [PATCH] ci: patch dependencies for rust 1.63-based jobs --- .gitlab-ci.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 875406d..27d3acf 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -122,7 +122,8 @@ cargo-test-debian-bookworm: - apt install -y -qq --no-install-recommends git rustc cargo clang make pkg-config nettle-dev libssl-dev capnproto ca-certificates libpcsclite-dev - apt clean - *report-rust - - cargo update -p lalrpop@0.20.0 --precise 0.19.12 # hack to work with Rust 1.63 + - cargo update -p lalrpop --precise 0.19.12 # hack to work with Rust 1.63 + - cargo update -p petgraph --precise 0.6.3 # hack to work with Rust 1.63 script: # there is no virtual card in this image, so subplot does not generate tests # that would require one. @@ -203,7 +204,8 @@ run_cardtest_ykneo: before_script: - export PATH="$HOME/.cargo/bin:$PATH" - *report-rust - - cargo update -p lalrpop@0.20.0 --precise 0.19.12 # hack to work with Rust 1.63 + - cargo update -p lalrpop --precise 0.19.12 # hack to work with Rust 1.63 + - cargo update -p petgraph --precise 0.6.3 # hack to work with Rust 1.63 script: - sh /start.sh # - RUST_BACKTRACE=1 cargo run -p openpgp-card-tools --bin opgpcard -- status @@ -225,7 +227,8 @@ run_cardtest_fluffypgp: before_script: - export PATH="$HOME/.cargo/bin:$PATH" - *report-rust - - cargo update -p lalrpop@0.20.0 --precise 0.19.12 # hack to work with Rust 1.63 + - cargo update -p lalrpop --precise 0.19.12 # hack to work with Rust 1.63 + - cargo update -p petgraph --precise 0.6.3 # hack to work with Rust 1.63 script: - sh /start.sh # - RUST_BACKTRACE=1 cargo run -p openpgp-card-tools --bin opgpcard -- status