Skip to content

Commit

Permalink
Split out tests job
Browse files Browse the repository at this point in the history
  • Loading branch information
tstellar committed Nov 21, 2024
1 parent e2ac546 commit 137ed98
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/release-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -253,14 +253,7 @@ jobs:
find ${{ steps.setup-stage.outputs.build-prefix }}/build -iname ${{ needs.prepare.outputs.release-binary-filename }} -delete
rm -Rf ${{ steps.setup-stage.outputs.build-prefix }}/build/tools/clang/stage2-bins/_CPack_Packages
- name: Run Tests
shell: bash
if: needs.prepare.outputs.multi-stage == 'false'
run: |
ninja -C ${{ steps.setup-stage.outputs.build-prefix }}/build stage2-check-all
- name: Save Stage
if: needs.prepare.outputs.multi-stage == 'true'
uses: ./workflows-main/.github/workflows/release-binaries-save-stage
with:
build-prefix: ${{ steps.setup-stage.outputs.build-prefix }}
Expand Down Expand Up @@ -525,8 +518,9 @@ jobs:
- prepare
- build-stage3-all
if: >-
always() &&
github.repository == 'llvm/llvm-project'
runs-on: ${{ needs.prepare.outputs.runs-on }}
runs-on: ${{ input.runs-on }}
steps:
- name: Checkout Actions
uses: actions/checkout@v4
Expand All @@ -540,7 +534,7 @@ jobs:
id: setup-stage
uses: ./workflows/.github/workflows/release-binaries-setup-stage
with:
previous-artifact: build-stage3-all
previous-artifact: ${{ (needs.prepare.outputs.multi-stage == 'false' && 'build-stage1') || 'build-stage3-all' }}

- name: Run Tests
shell: bash
Expand Down

0 comments on commit 137ed98

Please sign in to comment.