Skip to content

Commit

Permalink
try matrix in workflow call
Browse files Browse the repository at this point in the history
Signed-off-by: m2 <69128853+m2Giles@users.noreply.github.com>
  • Loading branch information
m2Giles committed Nov 1, 2024
1 parent 081dbba commit 637f641
Show file tree
Hide file tree
Showing 5 changed files with 50 additions and 34 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build-image-beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ jobs:
name: Build Beta Images
uses: ./.github/workflows/reusable-build.yml
secrets: inherit
strategy:
matrix:
image_flavor: [main, nvidia]
base_name: [bluefin, bluefin-dx, aurora, aurora-dx]
with:
fedora_version: beta

4 changes: 4 additions & 0 deletions .github/workflows/build-image-gts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ jobs:
name: Build GTS Images
uses: ./.github/workflows/reusable-build.yml
secrets: inherit
strategy:
matrix:
image_flavor: [main, nvidia]
base_name: [bluefin, bluefin-dx]
with:
fedora_version: gts

4 changes: 4 additions & 0 deletions .github/workflows/build-image-latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,9 @@ jobs:
name: Build Latest Images
uses: ./.github/workflows/reusable-build.yml
secrets: inherit
strategy:
matrix:
image_flavor: [main, nvidia, hwe, hwe-nvidia]
base_name: [bluefin, bluefin-dx, aurora, aurora-dx]
with:
fedora_version: latest
4 changes: 4 additions & 0 deletions .github/workflows/build-image-stable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ jobs:
name: Build Stable Images
uses: ./.github/workflows/reusable-build.yml
secrets: inherit
strategy:
matrix:
image_flavor: [main, nvidia]
base_name: [bluefin, bluefin-dx, aurora, aurora-dx]
with:
fedora_version: stable

68 changes: 34 additions & 34 deletions .github/workflows/reusable-build-iso.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,40 +18,40 @@ jobs:
contents: read
packages: write
id-token: write
strategy:
fail-fast: false
matrix:
image_flavor:
- main
- nvidia
- asus
- asus-nvidia
- surface
- surface-nvidia
base_name:
- bluefin
- bluefin-dx
- aurora
- aurora-dx
fedora_version:
- ${{ inputs.fedora_version }}
exclude:
- fedora_version: gts
base_name: aurora
- fedora_version: gts
base_name: aurora-dx
- fedora_version: gts
image_flavor: hwe
- fedora_version: gts
image_flavor: hwe-nvidia
- fedora_version: stable
image_flavor: hwe
- fedora_version: stable
image_flavor: hwe-nvidia
- fedora_version: beta
image_flavor: hwe
- fedora_version: beta
image_flavor: hwe-nvidia
# strategy:
# fail-fast: false
# matrix:
# image_flavor:
# - main
# - nvidia
# - asus
# - asus-nvidia
# - surface
# - surface-nvidia
# base_name:
# - bluefin
# - bluefin-dx
# - aurora
# - aurora-dx
# fedora_version:
# - ${{ inputs.fedora_version }}
# exclude:
# - fedora_version: gts
# base_name: aurora
# - fedora_version: gts
# base_name: aurora-dx
# - fedora_version: gts
# image_flavor: hwe
# - fedora_version: gts
# image_flavor: hwe-nvidia
# - fedora_version: stable
# image_flavor: hwe
# - fedora_version: stable
# image_flavor: hwe-nvidia
# - fedora_version: beta
# image_flavor: hwe
# - fedora_version: beta
# image_flavor: hwe-nvidia

steps:
- name: Free Disk Space (Ubuntu)
Expand Down

0 comments on commit 637f641

Please sign in to comment.