From d4a34789cd20cfaa4c2f4c1f5dc8d09788d7a3ce Mon Sep 17 00:00:00 2001 From: Liwei Ji Date: Thu, 8 Aug 2024 23:47:08 -0400 Subject: [PATCH] CI: update ci.yml --- .github/workflows/ci.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 13d7557d..5aee225f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -35,14 +35,14 @@ jobs: # Steps represent a sequence of tasks that will be executed as part of the job steps: # Check out the repository under $GITHUB_WORKSPACE, so our job can access it - - uses: actions/checkout@v3 - + - uses: actions/checkout@v4 + # # Check out the documentation and test results # - uses: actions/checkout@v3 # with: # ref: gh-pages # path: gh-pages - + - name: Log the triggering commit run: echo ${{github.event.client_payload.trigger}} @@ -54,9 +54,9 @@ jobs: - name: Test Cactus # We cannot run with cuda nor with rocm. Debug builds run too slowly. - if: ${{matrix.accelerator != 'cuda' && matrix.accelerator != 'rocm' && matrix.mode != 'debug'}} + if: ${{matrix.accelerator == 'cpu' && matrix.mode == 'optimize'}} run: /bin/bash $GITHUB_WORKSPACE/scripts/test.sh - + # Set exit code based on test status - name: Set exit code # Only look at the test results for `carpetx-cpu-real64` runs