From 5f7c911c12676e38a0d47a820d1be62db7bb8c4c Mon Sep 17 00:00:00 2001 From: Nick Chan Date: Fri, 16 Feb 2024 11:50:31 +0800 Subject: [PATCH] actions: Delete /usr/share/dotnet --- .github/workflows/ci.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7eb6d8da..144e516f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -54,6 +54,10 @@ jobs: runs-on: ubuntu-22.04 container: image: debian:stable + volumes: + - /:/mnt + options: --privileged + steps: - name: Install packages run: | @@ -66,15 +70,19 @@ jobs: uses: actions/checkout@v2 with: fetch-depth: 0 - + - name: Compile KPF test run: make -C checkra1n/kpf-test KPF_CFLAGS="-target aarch64-linux-gnu -L/usr/aarch64-linux-gnu/lib -I/usr/aarch64-linux-gnu/include -L/usr/lib/gcc-cross/aarch64-linux-gnu/*" kpf-test.linux + - name: Free up space + run: + rm -rf /mnt/usr/share/dotnet /mnt/usr/local/lib/android /mnt/opt/ghc /mnt/opt/hostedtoolcache/CodeQL + - name: Get kernels run: | curl -Lu ${{ secrets.ACTIONS_RESOURCES_LOGIN }} https://static.palera.in/action-resources/kc.tar.zst | zstd -cdT0 | tar -x - + - name: Test KPF run: | qemu-aarch64 ./checkra1n/kpf-test/kpf-test.linux -n kernel2;