Skip to content

Commit

Permalink
revert(ci): remove edk2 matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
AtomicFS committed Oct 17, 2024
1 parent 524d8cb commit f2f9442
Showing 1 changed file with 8 additions and 15 deletions.
23 changes: 8 additions & 15 deletions .github/workflows/docker-build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,21 +67,14 @@ jobs:
outputs:
matrix: ${{ steps.get-matrix.outputs.matrix }}

get-matrix-edk2:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: get-matrix
id: get-matrix
run: |
# shellcheck disable=SC2046
echo matrix=$( yq --input-format yaml --output-format json '.services | keys[] | select(. | test("(e|u)dk2.*"))' docker/compose.yaml | sed 's/"//g' | jq -Rs 'split("\n") | del(.[-1])' | jq -c ) >> "${GITHUB_OUTPUT}"
- name: Check
run: |
jq . <<< '${{ steps.get-matrix.outputs.matrix }}'
outputs:
matrix: ${{ steps.get-matrix.outputs.matrix }}
# get-matrix-edk2:
#
# So ... I did try to also pre-compile edk2 BaseTools but there were simply too many problems
# - udk2017 uses Ubuntu Bionic (18.04) which is simply too old for GitHub actions, which require modern NodeJS
# - uploading almost 1GB of artifacts per edk2 variant is just too much
#
# Since the BaseTools do not take that long to compile, I will just make to so that the compilation happens
# on the first use

#=====================
# Coreboot toolchains
Expand Down

0 comments on commit f2f9442

Please sign in to comment.