From ddf8860f7a99b678d97cbb495be87e28a9ad8f5c Mon Sep 17 00:00:00 2001 From: Benjamin Gallois <business@gallois.cc> Date: Sat, 24 Feb 2024 15:15:20 +0100 Subject: [PATCH] Fix srtool (nodes/rust/duniter-v2s!249) * fix srtool --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7355dbfeb..48051aa49 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -129,7 +129,7 @@ gdev_srtool_build: script: - echo "Building runtime for gdev" - mkdir -p $CI_PROJECT_DIR/release - - echo -e "[toolchain]\nchannel = \"`curl -s https://raw.githubusercontent.com/paritytech/srtool/master/RUSTC_VERSION`\"\ncomponents = [ \"rust-std\", \"rust-src\" ]" > $RUNTIME_DIR/rust-toolchain.toml # Workaround see !239 + - echo -e "[toolchain]\nchannel = \"`curl -s https://raw.githubusercontent.com/paritytech/srtool/master/RUSTC_VERSION`\"\ncomponents = [ \"rust-std\", \"rust-src\" ]\ntargets = [ \"wasm32-unknown-unknown\" ]" > $RUNTIME_DIR/rust-toolchain.toml # Workaround see !239 # Copy sources to the expected directory of srtool - cp -R * /build/ # Build the runtime -- GitLab