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 f6cecd3 commit f167222
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/onyx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,6 @@ 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 @@ -156,6 +152,10 @@ jobs:
runs-on: self-hosted
needs: [ job_verify_actor, job_build_cpu ]
steps:
- name: Get number of CPU cores
uses: SimenB/github-actions-cpu-cores@v2
id: cpu-cores

- name: ctest
run: |
cd ./KORC/build && ctest -j ${{ steps.cpu-cores.outputs.count }} --output-on-failure
Expand All @@ -164,6 +164,10 @@ jobs:
runs-on: self-hosted
needs: [ job_verify_actor, job_setup_spack, job_build_gpu ]
steps:
- name: Get number of CPU cores
uses: SimenB/github-actions-cpu-cores@v2
id: cpu-cores

- name: ctest
run: |
cd ./KORC/build && ctest -j ${{ steps.cpu-cores.outputs.count }} --output-on-failure
Expand Down

0 comments on commit f167222

Please sign in to comment.