Skip to content

Commit

Permalink
ci: Do "apt-get update" before installing anything
Browse files Browse the repository at this point in the history
The existing package listings may be stale and pointing at files
that no longer are present.
  • Loading branch information
mstorsjo committed Dec 21, 2023
1 parent 5fd5414 commit 4753071
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand All @@ -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:
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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)

0 comments on commit 4753071

Please sign in to comment.