Merge pull request #5827 from maron2000/ffmpeg_fix

Add FFmpeg support for CI builds for testing builds in Linux
This commit is contained in:
Jonathan Campbell
2025-09-06 10:13:25 -07:00
committed by GitHub

View File

@@ -30,11 +30,12 @@ jobs:
- name: Install libraries
run: |
sudo apt-get update -y
sudo apt-get install -y nasm fluidsynth libfluidsynth-dev libpcap-dev libslirp-dev libsdl-net1.2-dev libsdl2-net-dev libglu1-mesa-dev freeglut3-dev mesa-common-dev libpng-dev
sudo apt-get install -y nasm fluidsynth libfluidsynth-dev libpcap-dev libslirp-dev libsdl-net1.2-dev libsdl2-net-dev libglu1-mesa-dev freeglut3-dev mesa-common-dev libpng-dev libavcodec-dev libavformat-dev libavutil-dev libswscale-dev libavdevice-dev libavcodec-extra
mkdir src/bin
- name: Update build info
shell: bash
run: |
echo "timestamp=`git show -s --format=%at | xargs -I# date -d @# +%Y%m%d%H%M%S`" >> $GITHUB_ENV
export shortsha=`echo ${GITHUB_SHA} | cut -c1-7`
export copyrightyear=`git show -s --format=%at | xargs -I# date -d @# +'%Y'`
export updatestr=`git show -s --format=%at | xargs -I# date -d @# +'%b %d, %Y %I:%M:%S%P'`
@@ -46,13 +47,13 @@ jobs:
- name: Build Linux SDL1
run: |
top=`pwd`
./build-debug
./build-debug --enable-avcodec
strip -s $top/src/dosbox-x
cp $top/src/dosbox-x $top/src/bin/dosbox-x-sdl1
- name: Build Linux SDL2
run: |
top=`pwd`
./build-debug-sdl2
./build-debug-sdl2 --enable-avcodec
strip -s $top/src/dosbox-x
cp $top/src/dosbox-x $top/src/bin/dosbox-x-sdl2
- name: Unit testing