-
Notifications
You must be signed in to change notification settings - Fork 803
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- [return macos jobs to gitlab](dcd44b1) - [add benches to merge queue](494eb21) - [require test-deterministic-wasm and run it earlier](ab9ae5c)
- Loading branch information
Showing
3 changed files
with
54 additions
and
42 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 |
---|---|---|
|
@@ -121,7 +121,7 @@ jobs: | |
test-deterministic-wasm: | ||
timeout-minutes: 20 | ||
needs: [ set-image, test-frame-ui ] | ||
needs: [ set-image ] | ||
runs-on: ${{ needs.set-image.outputs.RUNNER }} | ||
container: | ||
image: ${{ needs.set-image.outputs.IMAGE }} | ||
|
@@ -144,7 +144,7 @@ jobs: | |
cargo-check-benches-branches: | ||
needs: [ set-image ] | ||
if: ${{ github.event_name == 'pull_request' }} | ||
if: ${{ github.event_name == 'pull_request' || github.event_name == 'merge_group' }} | ||
timeout-minutes: 60 | ||
outputs: | ||
branch: ${{ steps.branch.outputs.branch }} | ||
|
@@ -354,46 +354,30 @@ jobs: | |
cp .forklift/config.toml /github/home/.forklift/config.toml | ||
PYTHONUNBUFFERED=x .github/scripts/check-each-crate.py ${{ matrix.index }} ${{ strategy.job-total }} | ||
# TODO: enable when we have a macos Self-Hosted runners | ||
# cargo-check-each-crate-macos: | ||
# timeout-minutes: 120 | ||
# needs: [ set-image ] | ||
# runs-on: macos-latest | ||
# env: | ||
# RUSTFLAGS: "-D warnings" | ||
# CI_JOB_NAME: cargo-check-each-crate | ||
# IMAGE: ${{ needs.set-image.outputs.IMAGE }} | ||
# strategy: | ||
# fail-fast: false | ||
# matrix: | ||
# index: [ 1,2,3,4,5,6,7,8,9,10 ] # 10 parallel jobs | ||
# steps: | ||
# - name: Checkout | ||
# uses: actions/[email protected] | ||
# | ||
# - run: | | ||
# VERSION=$(echo $IMAGE | sed -E 's/.*:bullseye-([^-]+)-.*/\1/') | ||
# echo $VERSION | ||
# echo "VERSION=$VERSION" >> $GITHUB_ENV | ||
# | ||
# - run: | | ||
# rustup install $VERSION | ||
# rustup default $VERSION | ||
# | ||
# - name: Check Rust | ||
# run: | | ||
# rustup show | ||
# rustup +nightly show | ||
# | ||
# - name: MacOS Deps | ||
# run: | | ||
# brew install protobuf openssl pkg-config zlib xz zstd llvm jq curl gcc make cmake | ||
# rustup target add wasm32-unknown-unknown --toolchain $VERSION | ||
# rustup component add rust-src rustfmt clippy --toolchain $VERSION | ||
# | ||
# - name: script | ||
# run: | | ||
# PYTHONUNBUFFERED=x .github/scripts/check-each-crate.py ${{ matrix.index }} ${{ strategy.job-total }} True | ||
# cargo-check-each-crate-macos: | ||
# timeout-minutes: 120 | ||
# needs: [ set-image ] | ||
# runs-on: macOS | ||
# env: | ||
# RUSTFLAGS: "-D warnings" | ||
# CI_JOB_NAME: cargo-check-each-crate | ||
# IMAGE: ${{ needs.set-image.outputs.IMAGE }} | ||
# strategy: | ||
# fail-fast: false | ||
# matrix: | ||
# index: [ 1,2,3,4,5,6,7,8,9,10 ] # 10 parallel jobs | ||
# steps: | ||
# - name: Checkout | ||
# uses: actions/[email protected] | ||
|
||
# - name: Install dependencies | ||
# uses: ./.github/actions/set-up-mac | ||
# with: | ||
# IMAGE: ${{ needs.set-image.outputs.IMAGE }} | ||
|
||
# - name: script | ||
# run: | | ||
# PYTHONUNBUFFERED=x .github/scripts/check-each-crate.py ${{ matrix.index }} ${{ strategy.job-total }} True | ||
|
||
confirm-required-test-misc-jobs-passed: | ||
runs-on: ubuntu-latest | ||
|
@@ -408,6 +392,7 @@ jobs: | |
- test-node-metrics | ||
- check-tracing | ||
- cargo-check-each-crate | ||
- test-deterministic-wasm | ||
# - cargo-hfuzz remove from required for now, as it's flaky | ||
steps: | ||
- run: echo '### Good job! All the required tests passed 🚀' >> $GITHUB_STEP_SUMMARY |
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