summaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
authorSimon Rettberg2023-04-04 15:12:41 +0200
committerSimon Rettberg2023-04-04 15:12:41 +0200
commit5ba496dce11d10198a0eae0c8440dccb256fbf32 (patch)
tree549903f1dab893870335a6e4767a4530444d2e83 /.github/workflows
parent[vesafb] Map Unicode characters to CP437 if possible (diff)
parent[tls] Handle fragmented handshake records (diff)
downloadipxe-5ba496dce11d10198a0eae0c8440dccb256fbf32.tar.gz
ipxe-5ba496dce11d10198a0eae0c8440dccb256fbf32.tar.xz
ipxe-5ba496dce11d10198a0eae0c8440dccb256fbf32.zip
Merge branch 'master' into openslx
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/build.yml61
-rw-r--r--.github/workflows/coverity.yml4
2 files changed, 57 insertions, 8 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 6dc577ef1..72a1234b6 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -4,14 +4,45 @@ on: push
jobs:
+ cache:
+ name: Cache
+ runs-on: ubuntu-22.04
+ steps:
+ - name: Cache permissions
+ run: |
+ sudo chown $(id -un) /var/cache/apt/archives
+ - name: Cache packages
+ uses: actions/cache@v3
+ with:
+ path: /var/cache/apt/archives/*.deb
+ key: apt-cache-${{ github.run_id }}-${{ github.run_attempt }}
+ restore-keys: |
+ apt-cache-
+ - name: Download packages
+ run: |
+ sudo apt update
+ sudo apt install -y -d -o Acquire::Retries=50 \
+ mtools syslinux isolinux \
+ libc6-dev-i386 valgrind \
+ gcc-arm-none-eabi gcc-aarch64-linux-gnu
+
x86:
name: x86
- runs-on: ubuntu-20.04
+ runs-on: ubuntu-22.04
+ needs: cache
steps:
- name: Check out code
- uses: actions/checkout@v2
+ uses: actions/checkout@v3
with:
fetch-depth: 0
+ - name: Cache permissions
+ run: |
+ sudo chown $(id -un) /var/cache/apt/archives
+ - name: Cache packages
+ uses: actions/cache/restore@v3
+ with:
+ path: /var/cache/apt/archives/*.deb
+ key: apt-cache-${{ github.run_id }}-${{ github.run_attempt }}
- name: Install packages
run: |
sudo dpkg --add-architecture i386
@@ -32,12 +63,21 @@ jobs:
arm32:
name: ARM32
- runs-on: ubuntu-20.04
+ runs-on: ubuntu-22.04
+ needs: cache
steps:
- name: Check out code
- uses: actions/checkout@v2
+ uses: actions/checkout@v3
with:
fetch-depth: 0
+ - name: Cache permissions
+ run: |
+ sudo chown $(id -un) /var/cache/apt/archives
+ - name: Cache packages
+ uses: actions/cache/restore@v3
+ with:
+ path: /var/cache/apt/archives/*.deb
+ key: apt-cache-${{ github.run_id }}-${{ github.run_attempt }}
- name: Install packages
run: |
sudo apt update
@@ -52,12 +92,21 @@ jobs:
arm64:
name: ARM64
- runs-on: ubuntu-20.04
+ runs-on: ubuntu-22.04
+ needs: cache
steps:
- name: Check out code
- uses: actions/checkout@v2
+ uses: actions/checkout@v3
with:
fetch-depth: 0
+ - name: Cache permissions
+ run: |
+ sudo chown $(id -un) /var/cache/apt/archives
+ - name: Cache packages
+ uses: actions/cache/restore@v3
+ with:
+ path: /var/cache/apt/archives/*.deb
+ key: apt-cache-${{ github.run_id }}-${{ github.run_attempt }}
- name: Install packages
run: |
sudo apt update
diff --git a/.github/workflows/coverity.yml b/.github/workflows/coverity.yml
index 20634be42..ba8681801 100644
--- a/.github/workflows/coverity.yml
+++ b/.github/workflows/coverity.yml
@@ -8,10 +8,10 @@ on:
jobs:
submit:
name: Submit
- runs-on: ubuntu-20.04
+ runs-on: ubuntu-22.04
steps:
- name: Check out code
- uses: actions/checkout@v2
+ uses: actions/checkout@v3
- name: Download Coverity Scan
run: |
curl --form token=${{ secrets.COVERITY_SCAN_TOKEN }} \