From 88f6d023090a07613bd9aa7f0bd146a7fd7967bd Mon Sep 17 00:00:00 2001 From: cgeek <cem.moreau@gmail.com> Date: Sun, 23 Jun 2024 08:30:54 +0200 Subject: [PATCH] fix(#195): CI merge artifact --- .gitlab-ci.yml | 28 ---------------------------- 1 file changed, 28 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f356f3e4f..2ba9f0d20 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -119,34 +119,6 @@ gdev_build: - apt-get install -y clang cmake protobuf-compiler - cargo build --no-default-features --features gtest -gdev_srtool_build: - stage: build - rules: - - if: $CI_COMMIT_REF_NAME =~ /^wip*$/ - when: manual - - if: $CI_COMMIT_TAG - when: never - - if: $CI_COMMIT_BRANCH =~ /^(release\/runtime-)[0-9].*/ - when: never - - if: '$CI_MERGE_REQUEST_ID || $CI_COMMIT_BRANCH == "master"' - - when: manual - image: paritytech/srtool:1.74.0-0.13.0 - variables: - PACKAGE: gdev-runtime - RUNTIME_DIR: runtime/gdev - SRTOOL_OUTPUT: $CI_PROJECT_DIR/release/srtool_output_gdev.json - 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 - # Copy sources to the expected directory of srtool - - cp -R * /build/ - # Build the runtime - - /srtool/build --app --json -cM | tee -a $SRTOOL_OUTPUT - - mv /build/runtime/gdev/target/srtool/release/wbuild/gdev-runtime/gdev_runtime.compact.compressed.wasm $CI_PROJECT_DIR/release/ - tags: - - kepler - tests: stage: tests image: rust:1-bullseye -- GitLab