ci: ubuntu-24.04

This commit is contained in:
Bard 2024-11-13 21:54:01 +08:00 committed by GitHub
parent f482fc7c03
commit 8284bd7c83
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -8,7 +8,7 @@ on:
jobs: jobs:
build: build:
name: Build ${{ matrix.arch }}-${{ matrix.tag }} name: Build ${{ matrix.arch }}-${{ matrix.tag }}
runs-on: ubuntu-latest runs-on: ubuntu-24.04
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
@ -54,6 +54,10 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Free disk space
run: |
rm -rf /usr/lib/{jvm,llvm} /usr/local /usr/src/* /var/lib/gems /var/lib/mysql /var/lib/snapd /etc/skel /opt/{microsoft,az,hostedtoolcache,cni,mssql-tools,pipx} /usr/share/{az*,dotnet,swift,miniconda,gradle*,java,kotlinc,ri,sbt} /root/{.sbt,.local,.npm} /usr/libexec/gcc/x86_64-linux-gnu/14 /usr/lib/x86_64-linux-gnu/{*clang*,*LLVM*} /home/linuxbrew
- name: Hack daed packages - name: Hack daed packages
run: | run: |
sed -i 's/$(BPF_DEPENDS)//g' daed/Makefile sed -i 's/$(BPF_DEPENDS)//g' daed/Makefile