-
Notifications
You must be signed in to change notification settings - Fork 657
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into rq/expose-client
- Loading branch information
Showing
207 changed files
with
1,527 additions
and
1,947 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
IMAGE="docker.io/paritytech/ci-unified:bullseye-1.77.0-2024-04-10-v202407161507" | ||
IMAGE="docker.io/paritytech/ci-unified:bullseye-1.81.0-2024-09-11-v202409111034" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,6 +22,7 @@ jobs: | |
test-full-crypto-feature: | ||
needs: [preflight] | ||
runs-on: ${{ needs.preflight.outputs.RUNNER }} | ||
if: ${{ needs.preflight.outputs.changes_rust }} | ||
timeout-minutes: 60 | ||
container: | ||
image: ${{ needs.preflight.outputs.IMAGE }} | ||
|
@@ -46,6 +47,7 @@ jobs: | |
# into one job | ||
needs: [preflight, test-full-crypto-feature] | ||
runs-on: ${{ needs.preflight.outputs.RUNNER }} | ||
if: ${{ needs.preflight.outputs.changes_rust }} | ||
container: | ||
image: ${{ needs.preflight.outputs.IMAGE }} | ||
env: | ||
|
@@ -67,34 +69,36 @@ jobs: | |
timeout-minutes: 60 | ||
needs: [preflight] | ||
runs-on: ${{ needs.preflight.outputs.RUNNER }} | ||
if: ${{ needs.preflight.outputs.changes_rust }} | ||
container: | ||
image: ${{ needs.preflight.outputs.IMAGE }} | ||
env: | ||
# Enable debug assertions since we are running optimized builds for testing | ||
# but still want to have debug assertions. | ||
RUSTFLAGS: "-C debug-assertions -D warnings" | ||
RUST_BACKTRACE: 1 | ||
WASM_BUILD_NO_COLOR: 1 | ||
WASM_BUILD_RUSTFLAGS: "-C debug-assertions -D warnings" | ||
SKIP_WASM_BUILD: 1 | ||
# Ensure we run the UI tests. | ||
RUN_UI_TESTS: 1 | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: script | ||
run: | | ||
forklift cargo test --locked -q --profile testnet -p frame-support-test --features=frame-feature-testing,no-metadata-docs,try-runtime,experimental | ||
forklift cargo test --locked -q --profile testnet -p frame-support-test --features=frame-feature-testing,frame-feature-testing-2,no-metadata-docs,try-runtime,experimental | ||
forklift cargo test --locked -q --profile testnet -p xcm-procedural | ||
forklift cargo test --locked -q --profile testnet -p frame-election-provider-solution-type | ||
forklift cargo test --locked -q --profile testnet -p sp-api-test | ||
cargo version | ||
forklift cargo test --locked -q --profile testnet -p frame-support-test --features=frame-feature-testing,no-metadata-docs,try-runtime,experimental ui | ||
forklift cargo test --locked -q --profile testnet -p frame-support-test --features=frame-feature-testing,frame-feature-testing-2,no-metadata-docs,try-runtime,experimental ui | ||
forklift cargo test --locked -q --profile testnet -p xcm-procedural ui | ||
forklift cargo test --locked -q --profile testnet -p frame-election-provider-solution-type ui | ||
forklift cargo test --locked -q --profile testnet -p sp-api-test ui | ||
# There is multiple version of sp-runtime-interface in the repo. So we point to the manifest. | ||
forklift cargo test --locked -q --profile testnet --manifest-path substrate/primitives/runtime-interface/Cargo.toml | ||
forklift cargo test --locked -q --profile testnet --manifest-path substrate/primitives/runtime-interface/Cargo.toml ui | ||
test-deterministic-wasm: | ||
timeout-minutes: 20 | ||
needs: [preflight, test-frame-examples-compile-to-wasm] | ||
runs-on: ${{ needs.preflight.outputs.RUNNER }} | ||
if: ${{ needs.preflight.outputs.changes_rust }} | ||
container: | ||
image: ${{ needs.preflight.outputs.IMAGE }} | ||
env: | ||
|
@@ -194,6 +198,7 @@ jobs: | |
needs: [preflight] | ||
timeout-minutes: 30 | ||
runs-on: ${{ needs.preflight.outputs.RUNNER }} | ||
if: ${{ needs.preflight.outputs.changes_rust }} | ||
container: | ||
image: ${{ needs.preflight.outputs.IMAGE }} | ||
steps: | ||
|
@@ -226,6 +231,7 @@ jobs: | |
timeout-minutes: 20 | ||
needs: [preflight, test-node-metrics] | ||
runs-on: ${{ needs.preflight.outputs.RUNNER }} | ||
if: ${{ needs.preflight.outputs.changes_rust }} | ||
container: | ||
image: ${{ needs.preflight.outputs.IMAGE }} | ||
steps: | ||
|
@@ -241,6 +247,7 @@ jobs: | |
timeout-minutes: 20 | ||
needs: [preflight, check-tracing] | ||
runs-on: ${{ needs.preflight.outputs.RUNNER }} | ||
if: ${{ needs.preflight.outputs.changes_rust }} | ||
container: | ||
image: ${{ needs.preflight.outputs.IMAGE }} | ||
steps: | ||
|
@@ -251,50 +258,52 @@ jobs: | |
run: | | ||
forklift cargo build --locked -p westend-runtime --features metadata-hash | ||
cargo-hfuzz: | ||
timeout-minutes: 20 | ||
needs: [preflight, check-metadata-hash] | ||
runs-on: ${{ needs.preflight.outputs.RUNNER }} | ||
container: | ||
image: ${{ needs.preflight.outputs.IMAGE }} | ||
env: | ||
# max 10s per iteration, 60s per file | ||
HFUZZ_RUN_ARGS: | | ||
--exit_upon_crash | ||
--exit_code_upon_crash 1 | ||
--timeout 10 | ||
--run_time 60 | ||
# use git version of honggfuzz-rs until v0.5.56 is out, we need a few recent changes: | ||
# https://github.com/rust-fuzz/honggfuzz-rs/pull/75 to avoid breakage on debian | ||
# https://github.com/rust-fuzz/honggfuzz-rs/pull/81 fix to the above pr | ||
# https://github.com/rust-fuzz/honggfuzz-rs/pull/82 fix for handling absolute CARGO_TARGET_DIR | ||
HFUZZ_BUILD_ARGS: | | ||
--config=patch.crates-io.honggfuzz.git="https://github.com/altaua/honggfuzz-rs" | ||
--config=patch.crates-io.honggfuzz.rev="205f7c8c059a0d98fe1cb912cdac84f324cb6981" | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Run honggfuzz | ||
run: | | ||
cd substrate/primitives/arithmetic/fuzzer | ||
forklift cargo hfuzz build | ||
for target in $(cargo read-manifest | jq -r '.targets | .[] | .name'); | ||
do | ||
forklift cargo hfuzz run "$target" || { printf "fuzzing failure for %s\n" "$target"; exit 1; }; | ||
done | ||
- name: Upload artifacts | ||
uses: actions/[email protected] | ||
with: | ||
path: substrate/primitives/arithmetic/fuzzer/hfuzz_workspace/ | ||
name: hfuzz-${{ github.sha }} | ||
# disabled until https://github.com/paritytech/polkadot-sdk/issues/5812 is resolved | ||
# cargo-hfuzz: | ||
# timeout-minutes: 20 | ||
# needs: [preflight, check-metadata-hash] | ||
# runs-on: ${{ needs.preflight.outputs.RUNNER }} | ||
# container: | ||
# image: ${{ needs.preflight.outputs.IMAGE }} | ||
# env: | ||
# # max 10s per iteration, 60s per file | ||
# HFUZZ_RUN_ARGS: | | ||
# --exit_upon_crash | ||
# --exit_code_upon_crash 1 | ||
# --timeout 10 | ||
# --run_time 60 | ||
|
||
# # use git version of honggfuzz-rs until v0.5.56 is out, we need a few recent changes: | ||
# # https://github.com/rust-fuzz/honggfuzz-rs/pull/75 to avoid breakage on debian | ||
# # https://github.com/rust-fuzz/honggfuzz-rs/pull/81 fix to the above pr | ||
# # https://github.com/rust-fuzz/honggfuzz-rs/pull/82 fix for handling absolute CARGO_TARGET_DIR | ||
# HFUZZ_BUILD_ARGS: | | ||
# --config=patch.crates-io.honggfuzz.git="https://github.com/altaua/honggfuzz-rs" | ||
# --config=patch.crates-io.honggfuzz.rev="205f7c8c059a0d98fe1cb912cdac84f324cb6981" | ||
# steps: | ||
# - name: Checkout | ||
# uses: actions/checkout@v4 | ||
|
||
# - name: Run honggfuzz | ||
# run: | | ||
# cd substrate/primitives/arithmetic/fuzzer | ||
# forklift cargo hfuzz build | ||
# for target in $(cargo read-manifest | jq -r '.targets | .[] | .name'); | ||
# do | ||
# forklift cargo hfuzz run "$target" || { printf "fuzzing failure for %s\n" "$target"; exit 1; }; | ||
# done | ||
|
||
# - name: Upload artifacts | ||
# uses: actions/[email protected] | ||
# with: | ||
# path: substrate/primitives/arithmetic/fuzzer/hfuzz_workspace/ | ||
# name: hfuzz-${{ github.sha }} | ||
|
||
cargo-check-each-crate: | ||
timeout-minutes: 140 | ||
needs: [preflight] | ||
runs-on: ${{ needs.preflight.outputs.RUNNER }} | ||
if: ${{ needs.preflight.outputs.changes_rust }} | ||
container: | ||
image: ${{ needs.preflight.outputs.IMAGE }} | ||
env: | ||
|
@@ -322,6 +331,7 @@ jobs: | |
timeout-minutes: 30 | ||
needs: [preflight] | ||
runs-on: ${{ needs.preflight.outputs.RUNNER_MACOS }} | ||
if: ${{ needs.preflight.outputs.changes_rust }} | ||
env: | ||
SKIP_WASM_BUILD: 1 | ||
steps: | ||
|
Oops, something went wrong.