Skip to content

Commit ada74fa

Browse files
committed
[ci] Do not deal with binaries for special builds
1 parent 107c968 commit ada74fa

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/root-ci.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ jobs:
223223
path: /Users/sftnight/ROOT-CI/build/TestResults.xml
224224

225225
- name: Upload binaries
226-
if: ${{ !cancelled() && (inputs.binaries || github.event_name == 'schedule' || startsWith(github.ref, 'refs/tags/')) }}
226+
if: ${{ !cancelled() && !matrix.is_special && (inputs.binaries || github.event_name == 'schedule' || startsWith(github.ref, 'refs/tags/')) }}
227227
uses: actions/upload-artifact@v6
228228
with:
229229
name: Binaries ${{ matrix.platform }} ${{ matrix.arch }}
@@ -576,7 +576,7 @@ jobs:
576576
path: /github/home/ROOT-CI/build/TestResults.xml
577577

578578
- name: Upload binaries
579-
if: ${{ !cancelled() && (inputs.binaries || github.event_name == 'schedule' || startsWith(github.ref, 'refs/tags/')) }}
579+
if: ${{ !cancelled() && !matrix.is_special && (inputs.binaries || github.event_name == 'schedule' || startsWith(github.ref, 'refs/tags/')) }}
580580
uses: actions/upload-artifact@v6
581581
with:
582582
name: Binaries ${{ matrix.image }} ${{ matrix.property }}
@@ -588,14 +588,17 @@ jobs:
588588
ccache -s || true
589589
590590
- name: Install
591+
if: ${{ !cancelled() && !matrix.is_special }}
591592
run: "cmake --install ${{ env.BUILD_DIR }} --prefix ${{ env.INSTALL_DIR }}"
592593

593594
- name: Build post-install test project
595+
if: ${{ !cancelled() && !matrix.is_special }}
594596
run: |
595597
cmake -S test/PostInstall/ -B ${{ env.POST_INSTALL_DIR }} -DCMAKE_PREFIX_PATH=${{ env.INSTALL_DIR }};
596598
cmake --build ${{ env.POST_INSTALL_DIR }};
597599
598600
- name: CTest in post-install test project
601+
if: ${{ !cancelled() && !matrix.is_special }}
599602
working-directory: ${{ env.POST_INSTALL_DIR }}
600603
run: ctest --output-on-failure -j $(nproc)
601604

0 commit comments

Comments
 (0)