diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index d0c76430..b358dbaa 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -64,13 +64,13 @@ jobs: build_linux_release_dynamic: name: Release build (dynamic) - runs-on: ubuntu-16.04 + runs-on: ubuntu-18.04 if: github.event_name != 'pull_request' || contains('dreamer,kcgen,ant-222', github.actor) == false steps: - uses: actions/checkout@v1 - run: sudo apt-get update - name: Install C++ compiler and libraries - run: sudo apt-get install -y tree libpng16-dev librsvg2-bin $(./scripts/list-build-dependencies.sh -m apt -c gcc) + run: sudo apt-get install -y tree libpng-dev librsvg2-bin $(./scripts/list-build-dependencies.sh -m apt -c gcc) - name: Prepare compiler cache id: prep-ccache shell: bash @@ -109,7 +109,10 @@ jobs: run: | set -x ./autogen.sh - ./configure CFLAGS="$FLAGS" CXXFLAGS="$FLAGS" LDFLAGS="$FLAGS $LINKFLAGS -flto=$(nproc)" --disable-screenshots + ./configure \ + CFLAGS="$FLAGS" CXXFLAGS="$FLAGS" \ + LDFLAGS="$FLAGS $LINKFLAGS -flto=$(nproc)" \ + --enable-png-static make -j "$(nproc)" strip src/dosbox - name: Package diff --git a/README.md b/README.md index c1d6e49f..ca710157 100644 --- a/README.md +++ b/README.md @@ -89,7 +89,7 @@ packages installed via your package manager. sudo dnf install SDL2 SDL2_net opusfile -#### Debian, Ubuntu +#### Debian (10 or newer), Ubuntu (18.04 LTS or newer) sudo apt install libsdl2-2.0 libsdl2-net-2.0 libopusfile0 @@ -97,6 +97,7 @@ packages installed via your package manager. sudo pacman -S sdl2 sdl2_net opusfile + ### [Windows] A dosbox.exe file in a snapshot package is not signed, therefore Windows 10