aboutsummaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorMartin Storsjo <martin@martin.st>2023-12-21 12:49:04 +0200
committerMartin Storsjo <martin@martin.st>2023-12-21 12:49:04 +0200
commit4753071b9c9cb18663c5711e1031fd7c71cff5ec (patch)
tree544d5b92b37de7d02fe6919c9507092e59870304 /.github
parent5fd541491b3e1a126a328a00624734ae30ab6fba (diff)
downloadfdk-aac-4753071b9c9cb18663c5711e1031fd7c71cff5ec.tar.gz
fdk-aac-4753071b9c9cb18663c5711e1031fd7c71cff5ec.tar.bz2
fdk-aac-4753071b9c9cb18663c5711e1031fd7c71cff5ec.zip
ci: Do "apt-get update" before installing anything
The existing package listings may be stale and pointing at files that no longer are present.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml14
1 files changed, 7 insertions, 7 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 8dcc4e4..c6ba3ea 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -14,7 +14,7 @@ jobs:
make -j$(nproc) CFLAGS="-g -O2 -Werror" CXXFLAGS="-g -O2 -Werror"
- name: Run tests
run: |
- sudo apt-get install --no-install-recommends ffmpeg
+ sudo apt-get update && sudo apt-get install --no-install-recommends ffmpeg
./test/run-test.sh
linux-cmake:
@@ -28,7 +28,7 @@ jobs:
cmake --build build
- name: Run tests
run: |
- sudo apt-get install --no-install-recommends ffmpeg
+ sudo apt-get update && sudo apt-get install --no-install-recommends ffmpeg
cd build
../test/run-test.sh
@@ -45,7 +45,7 @@ jobs:
make -j$(nproc)
- name: Run tests
run: |
- sudo apt-get install --no-install-recommends ffmpeg
+ sudo apt-get update && sudo apt-get install --no-install-recommends ffmpeg
./test/run-test.sh
linux-sanitizers-clang-cmake:
@@ -60,7 +60,7 @@ jobs:
cmake --build build
- name: Run tests
run: |
- sudo apt-get install --no-install-recommends ffmpeg
+ sudo apt-get update && sudo apt-get install --no-install-recommends ffmpeg
cd build
../test/run-test.sh
@@ -93,7 +93,7 @@ jobs:
steps:
- name: Install cross compiler
run: |
- sudo apt-get install g++-mingw-w64-x86-64
+ sudo apt-get update && sudo apt-get install g++-mingw-w64-x86-64
- name: Checkout sources
uses: actions/checkout@v4
- name: Build
@@ -107,7 +107,7 @@ jobs:
steps:
- name: Install cross compiler
run: |
- sudo apt-get install g++-mingw-w64-x86-64
+ sudo apt-get update && sudo apt-get install g++-mingw-w64-x86-64
- name: Checkout sources
uses: actions/checkout@v4
- name: Build
@@ -209,7 +209,7 @@ jobs:
path: ffmpeg
- name: Build FFmpeg
run: |
- sudo apt-get install -y nasm
+ sudo apt-get update && sudo apt-get install -y nasm
cd ffmpeg
PKG_CONFIG_PATH=$(pwd)/../prefix/lib/pkgconfig ./configure --enable-libfdk-aac --enable-nonfree
make -j$(nproc)