CI: We want to cleanup before using the Arch container
Fixes 69aa332c06
This commit is contained in:
30
.github/workflows/build-current-kernel-arch.yml
vendored
30
.github/workflows/build-current-kernel-arch.yml
vendored
@@ -53,18 +53,11 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
latest_release: ${{ steps.latest_release.outputs.release }}
|
latest_release: ${{ steps.latest_release.outputs.release }}
|
||||||
|
|
||||||
build-cfs:
|
cleanup-ubuntu:
|
||||||
env:
|
|
||||||
_cpusched: "cfs"
|
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container: archlinux:latest
|
needs: [check-for-newer-kernel]
|
||||||
|
|
||||||
needs: ["check-for-newer-kernel"]
|
|
||||||
if: |
|
|
||||||
github.ref == 'refs/heads/master' &&
|
|
||||||
needs.check-for-newer-kernel.outputs.new_kernel == '0'
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Free Disk Space (Ubuntu)
|
- name: Free Disk Space (Ubuntu)
|
||||||
uses: jlumbroso/free-disk-space@main
|
uses: jlumbroso/free-disk-space@main
|
||||||
@@ -82,6 +75,19 @@ jobs:
|
|||||||
docker-images: false
|
docker-images: false
|
||||||
swap-storage: true
|
swap-storage: true
|
||||||
|
|
||||||
|
build-cfs:
|
||||||
|
env:
|
||||||
|
_cpusched: "cfs"
|
||||||
|
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
container: archlinux:latest
|
||||||
|
|
||||||
|
needs: [check-for-newer-kernel, cleanup-ubuntu]
|
||||||
|
if: |
|
||||||
|
github.ref == 'refs/heads/master' &&
|
||||||
|
needs.check-for-newer-kernel.outputs.new_kernel == '0'
|
||||||
|
|
||||||
|
steps:
|
||||||
# We need to install git so the checkout is done with it
|
# We need to install git so the checkout is done with it
|
||||||
- name: Install git
|
- name: Install git
|
||||||
run: pacman -Syu --noconfirm git
|
run: pacman -Syu --noconfirm git
|
||||||
@@ -120,7 +126,7 @@ jobs:
|
|||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
needs: [check-for-newer-kernel, "build-cfs"]
|
needs: [check-for-newer-kernel, cleanup-ubuntu, "build-cfs"]
|
||||||
steps:
|
steps:
|
||||||
- name: Download release artifacts
|
- name: Download release artifacts
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v3
|
||||||
|
Reference in New Issue
Block a user