diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml index 1aa7e17ccb..bae35ddaa0 100644 --- a/.github/workflows/ci-build.yml +++ b/.github/workflows/ci-build.yml @@ -100,6 +100,7 @@ jobs: libfontconfig-dev \ libicu-dev \ liblzma-dev \ + libzstd-dev \ liblzo2-dev \ ${{ matrix.libsdl }} \ zlib1g-dev \ @@ -172,7 +173,7 @@ jobs: uses: actions/cache@v2 with: path: /usr/local/share/vcpkg/installed - key: ${{ steps.key.outputs.image }}-vcpkg-${{ matrix.arch }}-0 # Increase the number whenever dependencies are modified + key: ${{ steps.key.outputs.image }}-vcpkg-${{ matrix.arch }}-1 # Increase the number whenever dependencies are modified restore-keys: | ${{ steps.key.outputs.image }}-vcpkg-${{ matrix.arch }} @@ -180,6 +181,7 @@ jobs: run: | vcpkg install --triplet=${{ matrix.arch }}-osx \ liblzma \ + zstd \ libpng \ lzo \ zlib \ @@ -254,7 +256,7 @@ jobs: uses: actions/cache@v2 with: path: vcpkg/installed - key: ${{ steps.key.outputs.image }}-vcpkg-${{ matrix.arch }}-0 # Increase the number whenever dependencies are modified + key: ${{ steps.key.outputs.image }}-vcpkg-${{ matrix.arch }}-1 # Increase the number whenever dependencies are modified restore-keys: | ${{ steps.key.outputs.image }}-vcpkg-${{ matrix.arch }} @@ -263,6 +265,7 @@ jobs: run: | vcpkg install --triplet=${{ matrix.arch }}-windows-static \ liblzma \ + zstd \ libpng \ lzo \ zlib \ diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 84e8c17d98..45060f038f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -297,6 +297,7 @@ jobs: SDL2-devel \ wget \ xz-devel \ + libzstd-devel \ zlib-devel \ # EOF echo "::endgroup::" @@ -379,6 +380,8 @@ jobs: bundle_name: "groovy" - container_image: "debian:buster" bundle_name: "buster" + - container_image: "debian:bullseye" + bundle_name: "bullseye" runs-on: ubuntu-20.04 container: @@ -412,6 +415,7 @@ jobs: libfluidsynth-dev \ libicu-dev \ liblzma-dev \ + libzstd-dev \ liblzo2-dev \ libsdl2-dev \ lsb-release \ @@ -496,7 +500,7 @@ jobs: uses: actions/cache@v2 with: path: /usr/local/share/vcpkg/installed - key: ${{ steps.key.outputs.image }}-vcpkg-release-0 # Increase the number whenever dependencies are modified + key: ${{ steps.key.outputs.image }}-vcpkg-release-1 # Increase the number whenever dependencies are modified restore-keys: | ${{ steps.key.outputs.image }}-vcpkg-release ${{ steps.key.outputs.image }}-vcpkg-x64 @@ -506,6 +510,8 @@ jobs: vcpkg install \ liblzma:x64-osx \ liblzma:arm64-osx \ + zstd:x64-osx \ + zstd:arm64-osx \ libpng:x64-osx \ libpng:arm64-osx \ lzo:x64-osx \ @@ -699,7 +705,7 @@ jobs: uses: actions/cache@v2 with: path: vcpkg/installed - key: ${{ steps.key.outputs.image }}-vcpkg-${{ matrix.arch }}-0 # Increase the number whenever dependencies are modified + key: ${{ steps.key.outputs.image }}-vcpkg-${{ matrix.arch }}-1 # Increase the number whenever dependencies are modified restore-keys: | ${{ steps.key.outputs.image }}-vcpkg-${{ matrix.arch }} @@ -708,6 +714,7 @@ jobs: run: | vcpkg install --triplet=${{ matrix.arch }}-windows-static \ liblzma \ + zstd \ libpng \ lzo \ zlib \ diff --git a/src/citymania/cm_hotkeys.cpp b/src/citymania/cm_hotkeys.cpp index a635444bec..0fd73df0c2 100644 --- a/src/citymania/cm_hotkeys.cpp +++ b/src/citymania/cm_hotkeys.cpp @@ -14,6 +14,7 @@ #include "../widgets/rail_widget.h" #include "../widgets/road_widget.h" +#include #include #include "../safeguards.h"