From ba88bd97d755c4ebd2c031072a076b11825e142b Mon Sep 17 00:00:00 2001 From: Patryk Obara Date: Thu, 12 Dec 2019 21:56:13 +0100 Subject: [PATCH] Avoid libpng 1.2 dependency for Ubuntu releases This is a temporary fix for Ubuntu-based distributions. When SDL1 will be replaced by SDL2, we'll be able to revert this change. Fixes: #84 --- .github/workflows/linux.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index c060d414..0c976e9d 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -58,10 +58,15 @@ jobs: sed -i "s/AC_INIT(dosbox,git)/AC_INIT(dosbox,$VERSION)/" configure.ac echo ::set-env name=VERSION::$VERSION - name: Build + env: + FLAGS: -O3 -DNDEBUG -pipe run: | set -x ./autogen.sh - ./configure CFLAGS="-O3 -DNDEBUG -pipe" CXXFLAGS="-O3 -DNDEBUG -pipe" + ./configure \ + --disable-screenshots \ + CFLAGS="$FLAGS" \ + CXXFLAGS="$FLAGS" make -j "$(nproc)" strip src/dosbox - name: Package