From 39725e427b8c51e3cc9f1b6a6b561b044ea9ba64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ole=20Andr=C3=A9=20Vadla=20Ravn=C3=A5s?= Date: Thu, 30 May 2024 21:58:13 +0200 Subject: [PATCH] ci: Fix apt-get steps in the native and cross jobs Need to update the database before installing. --- .github/workflows/ci.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 62b017194..96624b785 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -42,7 +42,9 @@ jobs: run: sudo security authorizationdb write system.privilege.taskport allow - name: Install gcc-multilib if: matrix.id == 'linux-x86' - run: sudo apt-get install gcc-multilib lib32stdc++-11-dev + run: | + sudo apt-get update + sudo apt-get install gcc-multilib lib32stdc++-11-dev - name: Build if: ${{ startsWith(matrix.id, 'windows-') }} run: | @@ -87,7 +89,9 @@ jobs: with: submodules: recursive - name: Install toolchain - run: sudo apt-get install ${{ matrix.pkg }} + run: | + sudo apt-get update + sudo apt-get install ${{ matrix.pkg }} - name: Build run: | ./configure ${{ matrix.opts }} ${{ env.FRIDA_CORE_OPTIONS }}