Skip to content

Commit

Permalink
run in parallel
Browse files Browse the repository at this point in the history
Signed-off-by: Steven Hahn <[email protected]>
  • Loading branch information
quantumsteve committed Jun 10, 2024
1 parent db0fc51 commit f6cecd3
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/onyx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ jobs:
runs-on: self-hosted
needs: [ job_verify_actor ]
steps:
- name: Get number of CPU cores
uses: SimenB/github-actions-cpu-cores@v2
id: cpu-cores

- name: grab main project
uses: actions/checkout@v4
with:
Expand Down Expand Up @@ -154,13 +158,13 @@ jobs:
steps:
- name: ctest
run: |
cd ./KORC/build && ctest --output-on-failure
cd ./KORC/build && ctest -j ${{ steps.cpu-cores.outputs.count }} --output-on-failure
job_test_gpu:
runs-on: self-hosted
needs: [ job_verify_actor, job_setup_spack, job_build_gpu ]
steps:
- name: ctest
run: |
cd ./KORC/build && ctest --output-on-failure
cd ./KORC/build && ctest -j ${{ steps.cpu-cores.outputs.count }} --output-on-failure

0 comments on commit f6cecd3

Please sign in to comment.