mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-09 12:58:05 +00:00
63efcc49c3
* Start with something * Whatever * Update * MOARE * Make cumulus-network compile and tests work * Update more and fixes * More stuff * More fixes * Make collator build * Make test almost work * Remove contracts runtime * More test work * Make service compile * Fix test-service * Fix test client * More fixes * Fix collator test * Fix network tests (again) * Make everything compile, finally * Fix tests * Write test that should fail * Add `WaitOnRelayChainBlock` * Update git versions * Make it all work * Update logging * Switch to provided method for pushing an extrinsic * Try to debug CI * Aaaa * Only use Debug * Updates * Use native execution to hopefully make CI happy...
66 lines
1.6 KiB
YAML
66 lines
1.6 KiB
YAML
# .gitlab-ci.yml
|
|
#
|
|
# cumulus
|
|
#
|
|
# pipelines can be triggered manually in the web
|
|
|
|
|
|
stages:
|
|
- test
|
|
- build
|
|
|
|
variables: &default-vars
|
|
GIT_STRATEGY: fetch
|
|
GIT_DEPTH: 3
|
|
CARGO_INCREMENTAL: 0
|
|
CARGO_TARGET_DIR: "/ci-cache/${CI_PROJECT_NAME}/targets/${CI_COMMIT_REF_NAME}/${CI_JOB_NAME}"
|
|
CI_SERVER_NAME: "GitLab CI"
|
|
|
|
.docker-env: &docker-env
|
|
image: paritytech/ci-linux:production
|
|
before_script:
|
|
- cargo -vV
|
|
- rustc -vV
|
|
- rustup show
|
|
- cargo --version
|
|
- sccache -s
|
|
only:
|
|
- master
|
|
- /^v[0-9]+\.[0-9]+.*$/ # i.e. v1.0, v2.1rc1
|
|
- schedules
|
|
- web
|
|
- /^[0-9]+$/ # PRs
|
|
dependencies: []
|
|
interruptible: true
|
|
retry:
|
|
max: 2
|
|
when:
|
|
- runner_system_failure
|
|
- unknown_failure
|
|
- api_failure
|
|
tags:
|
|
- linux-docker
|
|
|
|
#### stage: test
|
|
|
|
cargo-audit:
|
|
stage: test
|
|
<<: *docker-env
|
|
except:
|
|
- /^[0-9]+$/
|
|
script:
|
|
- cargo audit
|
|
allow_failure: true
|
|
|
|
test-linux-stable:
|
|
stage: test
|
|
<<: *docker-env
|
|
variables:
|
|
<<: *default-vars
|
|
# Enable debug assertions since we are running optimized builds for testing
|
|
# but still want to have debug assertions.
|
|
RUSTFLAGS: "-Cdebug-assertions=y -Dwarnings"
|
|
script:
|
|
- time cargo test --all --release --locked
|
|
- sccache -s
|