Skip to content

Commit

Permalink
fix: ci
Browse files Browse the repository at this point in the history
  • Loading branch information
SyMind committed Apr 1, 2024
1 parent fef60d0 commit 3ea9174
Showing 1 changed file with 16 additions and 10 deletions.
26 changes: 16 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,11 @@ on:
types: [opened, synchronize]
paths-ignore:
- "**/*.md"
- '!.github/workflows/ci.yml'
push:
branches:
- main
paths-ignore:
- "**/*.md"
- '!.github/workflows/ci.yml'
tags-ignore:
- "**"

Expand Down Expand Up @@ -112,7 +110,6 @@ jobs:
target: ${{ matrix.array.target }}
runner: ${{ needs.get-runner-labels.outputs.MACOS_RUNNER_LABELS }}


cargo-deny:
name: Check license of dependencies
runs-on: ubuntu-latest
Expand Down Expand Up @@ -286,10 +283,10 @@ jobs:
uses: convictional/[email protected]
with:
owner: ${{ github.repository_owner }}
repo: 'rspack-ecosystem-benchmark'
workflow_file_name: 'bench_rspack_commit.yml'
repo: "rspack-ecosystem-benchmark"
workflow_file_name: "bench_rspack_commit.yml"
github_token: ${{ secrets.RSPACK_BOT_ACCESS_TOKEN }}
ref: 'main'
ref: "main"
client_payload: '{"commit_sha":"${{ github.sha }}"}'

run_ecosystem_ci:
Expand All @@ -301,15 +298,24 @@ jobs:
uses: convictional/[email protected]
with:
owner: ${{ github.repository_owner }}
repo: 'rspack-ecosystem-ci'
workflow_file_name: 'ecosystem-ci-from-commit.yml'
repo: "rspack-ecosystem-ci"
workflow_file_name: "ecosystem-ci-from-commit.yml"
github_token: ${{ secrets.ECOSYSTEM_CI_ACCESS_TOKEN }}
ref: 'main'
ref: "main"
client_payload: '{"commitSHA":"${{ github.sha }}","repo":"web-infra-dev/rspack","suite":"-","suiteRefType":"precoded","suiteRef":"precoded"}'

failure_notification:
name: Failure Notification
needs: [test-linux, test-windows, test-mac, rust_check, rust_test, run_benchmark, run_ecosystem_ci]
needs:
[
test-linux,
test-windows,
test-mac,
rust_check,
rust_test,
run_benchmark,
run_ecosystem_ci
]
if: ${{ failure() && !cancelled() && github.ref_name == 'main' && github.repository_owner == 'web-infra-dev' }}
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 3ea9174

Please sign in to comment.