Skip to content

Commit

Permalink
u
Browse files Browse the repository at this point in the history
  • Loading branch information
SyMind committed Dec 18, 2024
1 parent 9a986a2 commit da3060b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ jobs:
native: ${{ needs.get-runner-labels.outputs.LINUX_RUNNER_LABELS == '"ubuntu-latest"' }}
runner: ${{ needs.get-runner-labels.outputs.LINUX_RUNNER_LABELS }}
skipable: ${{ needs.check-changed.outputs.changed != 'true' }}
bench: true

test-release-linux:
name: Test Release Linux
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/reusable-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ on:
type: boolean
required: false
default: true
bench: # Run benchmarks?
type: boolean
required: false
default: true
ref: # Git reference to checkout
required: false
type: string
Expand Down Expand Up @@ -389,7 +393,9 @@ jobs:
sha: ${{ github.sha }}

bench:
name: Bench
needs: build
if: inputs.bench
runs-on: ${{ fromJSON(needs.build.outputs.runner-labels) }}
steps:
- name: Checkout
Expand Down Expand Up @@ -423,7 +429,7 @@ jobs:
if: ${{ !inputs.skipable }}
uses: ./.github/actions/pnpm-cache
with:
node-version: ${{ matrix.node }}
node-version: 20

- name: Install Rust Toolchain
if: ${{ !inputs.skipable }}
Expand Down

0 comments on commit da3060b

Please sign in to comment.