Skip to content

Commit

Permalink
Update linux-runner (#1978)
Browse files Browse the repository at this point in the history
  • Loading branch information
mateo-moon authored Nov 7, 2023
1 parent 745b08a commit be1799f
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,10 @@ workflow:
- *rust-info-script
interruptible: true
tags:
- linux-docker-vm-c2
- linux-docker

.kubernetes-env: &kubernetes-env
image: "${CI_IMAGE}"
interruptible: true
tags:
- kubernetes-parity-build
Expand All @@ -92,7 +93,7 @@ workflow:
# the lint steps are marked as "Required" in GitHub.
spellcheck:
stage: lint
<<: *docker-env
<<: *kubernetes-env
<<: *test-refs
script:
- cargo spellcheck check -v --cfg=.config/cargo_spellcheck.toml --checkers hunspell --code 1 -- recursive .
Expand All @@ -101,7 +102,7 @@ spellcheck:

fmt:
stage: lint
<<: *docker-env
<<: *kubernetes-env
<<: *test-refs
script:
- cargo +nightly fmt --verbose --all -- --check
Expand All @@ -112,10 +113,10 @@ fmt:

examples-fmt:
stage: lint
<<: *docker-env
<<: *kubernetes-env
<<: *test-refs
script:
- scripts/for_all_contracts_exec.sh
- scripts/for_all_contracts_exec.sh
--path integration-tests
-- cargo +nightly fmt --verbose --manifest-path {} -- --check
# This file is not a part of the cargo project, so it wouldn't be formatted the usual way
Expand Down Expand Up @@ -146,7 +147,7 @@ examples-clippy-std:
<<: *docker-env
<<: *test-refs
script:
- scripts/for_all_contracts_exec.sh
- scripts/for_all_contracts_exec.sh
--path integration-tests
-- cargo clippy --verbose --all-targets --manifest-path {} -- -D warnings -A $CLIPPY_ALLOWED
allow_failure: true
Expand All @@ -156,7 +157,7 @@ examples-clippy-wasm:
<<: *docker-env
<<: *test-refs
script:
- scripts/for_all_contracts_exec.sh
- scripts/for_all_contracts_exec.sh
--path integration-tests
-- cargo clippy --verbose --manifest-path {} --no-default-features --target wasm32-unknown-unknown -- -D warnings -A $CLIPPY_ALLOWED
allow_failure: true
Expand Down Expand Up @@ -350,7 +351,7 @@ examples-test:
RUSTFLAGS: "-Clink-arg=-z -Clink-arg=nostart-stop-gc"
script:
# run all tests with --all-features, which will run the e2e-tests feature if present
- scripts/for_all_contracts_exec.sh
- scripts/for_all_contracts_exec.sh
--path integration-tests
--ignore static-buffer
-- cargo test --verbose --all-features --manifest-path {}
Expand All @@ -366,7 +367,7 @@ examples-contract-build:
- rustup component add rust-src --toolchain stable
- cargo contract -V
# Build all examples
- scripts/for_all_contracts_exec.sh
- scripts/for_all_contracts_exec.sh
--path integration-tests
-- cargo contract build --release --manifest-path {}
# Build the different features for the conditional compilation example
Expand Down

0 comments on commit be1799f

Please sign in to comment.