diff --git a/.github/workflows/bpf-unit-tests.yml b/.github/workflows/bpf-unit-tests.yml index b9763ceb5a1..8181a76d4ed 100644 --- a/.github/workflows/bpf-unit-tests.yml +++ b/.github/workflows/bpf-unit-tests.yml @@ -26,7 +26,9 @@ jobs: go-version: '1.21.5' - name: Install LLVM - run: sudo apt-get -y install clang llvm + run: | + sudo apt-get update + sudo apt-get -y install clang llvm - name: Run BPF unit test run: make bpf-test BPFGOTESTFLAGS="-v" diff --git a/.github/workflows/gotests.yml b/.github/workflows/gotests.yml index 7bd0116b628..5ec912d55e7 100644 --- a/.github/workflows/gotests.yml +++ b/.github/workflows/gotests.yml @@ -30,11 +30,13 @@ jobs: - name: Install dependencies x86 run: | + sudo apt-get update sudo apt-get -y install libc6-dev-i386 if: ${{ matrix.os == 'ubuntu-20.04' }} - name: Install dependencies run: | + sudo apt-get update sudo apt-get -y install libelf-dev netcat-traditional libcap-dev gcc sudo sed -i '/secure_path/d' /etc/sudoers diff --git a/.github/workflows/vmtests.yml b/.github/workflows/vmtests.yml index ddaf84a0c2f..4d2d3fab7c6 100644 --- a/.github/workflows/vmtests.yml +++ b/.github/workflows/vmtests.yml @@ -31,7 +31,8 @@ jobs: - name: Install build dependencies run: | - sudo apt install libelf-dev netcat-traditional libcap-dev gcc libc6-dev-i386 + sudo apt-get update + sudo apt-get install -y libelf-dev netcat-traditional libcap-dev gcc libc6-dev-i386 echo `which clang` echo `which llc` echo `clang --version` @@ -89,9 +90,9 @@ jobs: steps: - name: Install VM test dependencies run: | - sudo apt-get -qy update + sudo apt-get update sudo apt-cache search qemu - sudo apt-get -qy install mmdebstrap libguestfs-tools qemu-utils qemu-system-x86 cpu-checker qemu-kvm libvirt-daemon-system libvirt-clients bridge-utils virtinst virt-manager + sudo apt-get install -y mmdebstrap libguestfs-tools qemu-utils qemu-system-x86 cpu-checker qemu-kvm libvirt-daemon-system libvirt-clients bridge-utils virtinst virt-manager - name: Make kernel accessible run: |