Get CI build working again after forking

deal with github mysteriously running actions with "ubuntu-latest" not resolving to 24.04. check for current ubuntu version and only do bwrap fix it >= 24.04

also, patch flakey flex mirrors, which were not working
This commit is contained in:
Matthew Draper 2025-01-01 11:34:33 -08:00
parent 4eceb77e40
commit 2adb6cb149
4 changed files with 103 additions and 5 deletions

View file

@ -26,7 +26,7 @@ jobs:
# against a commit != HEAD with depth=1, it errors out.
fetch-depth: 0
- name: Work around Ubuntu 24.04 bubblewrap bug
run: sudo cp .github/workflows/bwrap.apparmor /etc/apparmor.d/bwrap && sudo systemctl reload apparmor
run: bash .github/workflows/ubuntu_bwrap_fix.sh
- name: Query cache for sources
id: cache
uses: actions/cache/restore@v4
@ -75,7 +75,7 @@ jobs:
# against a commit != HEAD with depth=1, it errors out.
fetch-depth: 0
- name: Work around Ubuntu 24.04 bubblewrap bug
run: sudo cp .github/workflows/bwrap.apparmor /etc/apparmor.d/bwrap && sudo systemctl reload apparmor
run: bash .github/workflows/ubuntu_bwrap_fix.sh
- name: Get pass1_image
uses: actions/download-artifact@v4
with:
@ -130,7 +130,7 @@ jobs:
# against a commit != HEAD with depth=1, it errors out.
fetch-depth: 0
- name: Work around Ubuntu 24.04 bubblewrap bug
run: sudo cp .github/workflows/bwrap.apparmor /etc/apparmor.d/bwrap && sudo systemctl reload apparmor
run: bash .github/workflows/ubuntu_bwrap_fix.sh
- name: Get pass2_image
uses: actions/download-artifact@v4
with: