Skip to content

Commit

Permalink
Group jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
byrnHDF committed Sep 12, 2023
1 parent 5f8ef1d commit b366498
Show file tree
Hide file tree
Showing 2 changed files with 68 additions and 65 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main-auto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ jobs:
if: "!contains(github.event.head_commit.message, 'skip-ci')"

# The type of runner that the job will run on
runs-on: ${{ matrix.os }}
runs-on: ubuntu-latest

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
Expand Down
131 changes: 67 additions & 64 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,67 +27,70 @@ permissions:
# in parallel. We just have one job, but the matrix items defined below will
# run in parallel.
jobs:

call-workflow-special-autotools:
uses: ./.github/workflows/main-auto-spc.yml

call-parallel-special-autotools:
uses: ./.github/workflows/main-auto-par.yml

call--debug-thread-autotools:
uses: ./.github/workflows/main-auto.yml
with:
thread_safety: true
build_mode: "debug"

call-release-thread-autotools:
uses: ./.github/workflows/main-auto.yml
with:
thread_safety: true
build_mode: "production"

call-debug-autotools:
uses: ./.github/workflows/main-auto.yml
with:
thread_safety: false
build_mode: "debug"

call-release-autotools:
uses: ./.github/workflows/main-auto.yml
with:
thread_safety: false
build_mode: "production"

call-release-auto-intel:
uses: ./.github/workflows/intel-auto.yml
with:
build_mode: "production"

call-debug-thread-cmake:
uses: ./.github/workflows/main-cmake.yml
with:
thread_safety: true
build_mode: "Debug"

call-release-thread-cmake:
uses: ./.github/workflows/main-cmake.yml
with:
thread_safety: true
build_mode: "Release"

call-debug-cmake:
uses: ./.github/workflows/main-cmake.yml
with:
thread_safety: false
build_mode: "Debug"

call-release-cmake:
uses: ./.github/workflows/main-cmake.yml
with:
thread_safety: false
build_mode: "Release"

call-release-cmake-intel:
uses: ./.github/workflows/intel-cmake.yml
with:
build_mode: "Release"
call-workflow-autotools:
steps:
- name: call-workflow-special-autotools:
uses: ./.github/workflows/main-auto-spc.yml

- name: call-parallel-special-autotools:
uses: ./.github/workflows/main-auto-par.yml

- name: call-debug-thread-autotools:
uses: ./.github/workflows/main-auto.yml
with:
thread_safety: true
build_mode: "debug"

- name: call-release-thread-autotools:
uses: ./.github/workflows/main-auto.yml
with:
thread_safety: true
build_mode: "production"

- name: call-debug-autotools:
uses: ./.github/workflows/main-auto.yml
with:
thread_safety: false
build_mode: "debug"

- name: call-release-autotools:
uses: ./.github/workflows/main-auto.yml
with:
thread_safety: false
build_mode: "production"

- name: call-release-auto-intel:
uses: ./.github/workflows/intel-auto.yml
with:
build_mode: "production"

call-workflow-cmake:
steps:
- name: call-debug-thread-cmake:
uses: ./.github/workflows/main-cmake.yml
with:
thread_safety: true
build_mode: "Debug"

- name: call-release-thread-cmake:
uses: ./.github/workflows/main-cmake.yml
with:
thread_safety: true
build_mode: "Release"

- name: call-debug-cmake:
uses: ./.github/workflows/main-cmake.yml
with:
thread_safety: false
build_mode: "Debug"

- name: call-release-cmake:
uses: ./.github/workflows/main-cmake.yml
with:
thread_safety: false
build_mode: "Release"

- name: call-release-cmake-intel:
uses: ./.github/workflows/intel-cmake.yml
with:
build_mode: "Release"

0 comments on commit b366498

Please sign in to comment.