From 37266eca603f11191034268c50fb4060a0464bf8 Mon Sep 17 00:00:00 2001 From: bgallois <benjamin@gallois.cc> Date: Thu, 22 Feb 2024 11:59:25 +0100 Subject: [PATCH] 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