mirror of https://github.com/mstorsjo/fdk-aac.git
ci: Do "apt-get update" before installing anything
The existing package listings may be stale and pointing at files that no longer are present.
This commit is contained in:
parent
5fd541491b
commit
4753071b9c
|
@ -14,7 +14,7 @@ jobs:
|
||||||
make -j$(nproc) CFLAGS="-g -O2 -Werror" CXXFLAGS="-g -O2 -Werror"
|
make -j$(nproc) CFLAGS="-g -O2 -Werror" CXXFLAGS="-g -O2 -Werror"
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: |
|
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
|
./test/run-test.sh
|
||||||
|
|
||||||
linux-cmake:
|
linux-cmake:
|
||||||
|
@ -28,7 +28,7 @@ jobs:
|
||||||
cmake --build build
|
cmake --build build
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get install --no-install-recommends ffmpeg
|
sudo apt-get update && sudo apt-get install --no-install-recommends ffmpeg
|
||||||
cd build
|
cd build
|
||||||
../test/run-test.sh
|
../test/run-test.sh
|
||||||
|
|
||||||
|
@ -45,7 +45,7 @@ jobs:
|
||||||
make -j$(nproc)
|
make -j$(nproc)
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: |
|
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
|
./test/run-test.sh
|
||||||
|
|
||||||
linux-sanitizers-clang-cmake:
|
linux-sanitizers-clang-cmake:
|
||||||
|
@ -60,7 +60,7 @@ jobs:
|
||||||
cmake --build build
|
cmake --build build
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get install --no-install-recommends ffmpeg
|
sudo apt-get update && sudo apt-get install --no-install-recommends ffmpeg
|
||||||
cd build
|
cd build
|
||||||
../test/run-test.sh
|
../test/run-test.sh
|
||||||
|
|
||||||
|
@ -93,7 +93,7 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: Install cross compiler
|
- name: Install cross compiler
|
||||||
run: |
|
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
|
- name: Checkout sources
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- name: Build
|
- name: Build
|
||||||
|
@ -107,7 +107,7 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: Install cross compiler
|
- name: Install cross compiler
|
||||||
run: |
|
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
|
- name: Checkout sources
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- name: Build
|
- name: Build
|
||||||
|
@ -209,7 +209,7 @@ jobs:
|
||||||
path: ffmpeg
|
path: ffmpeg
|
||||||
- name: Build FFmpeg
|
- name: Build FFmpeg
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get install -y nasm
|
sudo apt-get update && sudo apt-get install -y nasm
|
||||||
cd ffmpeg
|
cd ffmpeg
|
||||||
PKG_CONFIG_PATH=$(pwd)/../prefix/lib/pkgconfig ./configure --enable-libfdk-aac --enable-nonfree
|
PKG_CONFIG_PATH=$(pwd)/../prefix/lib/pkgconfig ./configure --enable-libfdk-aac --enable-nonfree
|
||||||
make -j$(nproc)
|
make -j$(nproc)
|
||||||
|
|
Loading…
Reference in New Issue