Fix workflows and windows build error
This commit is contained in:
7
.github/workflows/ci-build.yml
vendored
7
.github/workflows/ci-build.yml
vendored
@@ -100,6 +100,7 @@ jobs:
|
|||||||
libfontconfig-dev \
|
libfontconfig-dev \
|
||||||
libicu-dev \
|
libicu-dev \
|
||||||
liblzma-dev \
|
liblzma-dev \
|
||||||
|
libzstd-dev \
|
||||||
liblzo2-dev \
|
liblzo2-dev \
|
||||||
${{ matrix.libsdl }} \
|
${{ matrix.libsdl }} \
|
||||||
zlib1g-dev \
|
zlib1g-dev \
|
||||||
@@ -172,7 +173,7 @@ jobs:
|
|||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
with:
|
with:
|
||||||
path: /usr/local/share/vcpkg/installed
|
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: |
|
restore-keys: |
|
||||||
${{ steps.key.outputs.image }}-vcpkg-${{ matrix.arch }}
|
${{ steps.key.outputs.image }}-vcpkg-${{ matrix.arch }}
|
||||||
|
|
||||||
@@ -180,6 +181,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
vcpkg install --triplet=${{ matrix.arch }}-osx \
|
vcpkg install --triplet=${{ matrix.arch }}-osx \
|
||||||
liblzma \
|
liblzma \
|
||||||
|
zstd \
|
||||||
libpng \
|
libpng \
|
||||||
lzo \
|
lzo \
|
||||||
zlib \
|
zlib \
|
||||||
@@ -254,7 +256,7 @@ jobs:
|
|||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
with:
|
with:
|
||||||
path: vcpkg/installed
|
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: |
|
restore-keys: |
|
||||||
${{ steps.key.outputs.image }}-vcpkg-${{ matrix.arch }}
|
${{ steps.key.outputs.image }}-vcpkg-${{ matrix.arch }}
|
||||||
|
|
||||||
@@ -263,6 +265,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
vcpkg install --triplet=${{ matrix.arch }}-windows-static \
|
vcpkg install --triplet=${{ matrix.arch }}-windows-static \
|
||||||
liblzma \
|
liblzma \
|
||||||
|
zstd \
|
||||||
libpng \
|
libpng \
|
||||||
lzo \
|
lzo \
|
||||||
zlib \
|
zlib \
|
||||||
|
|||||||
11
.github/workflows/release.yml
vendored
11
.github/workflows/release.yml
vendored
@@ -297,6 +297,7 @@ jobs:
|
|||||||
SDL2-devel \
|
SDL2-devel \
|
||||||
wget \
|
wget \
|
||||||
xz-devel \
|
xz-devel \
|
||||||
|
libzstd-devel \
|
||||||
zlib-devel \
|
zlib-devel \
|
||||||
# EOF
|
# EOF
|
||||||
echo "::endgroup::"
|
echo "::endgroup::"
|
||||||
@@ -379,6 +380,8 @@ jobs:
|
|||||||
bundle_name: "groovy"
|
bundle_name: "groovy"
|
||||||
- container_image: "debian:buster"
|
- container_image: "debian:buster"
|
||||||
bundle_name: "buster"
|
bundle_name: "buster"
|
||||||
|
- container_image: "debian:bullseye"
|
||||||
|
bundle_name: "bullseye"
|
||||||
|
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
container:
|
container:
|
||||||
@@ -412,6 +415,7 @@ jobs:
|
|||||||
libfluidsynth-dev \
|
libfluidsynth-dev \
|
||||||
libicu-dev \
|
libicu-dev \
|
||||||
liblzma-dev \
|
liblzma-dev \
|
||||||
|
libzstd-dev \
|
||||||
liblzo2-dev \
|
liblzo2-dev \
|
||||||
libsdl2-dev \
|
libsdl2-dev \
|
||||||
lsb-release \
|
lsb-release \
|
||||||
@@ -496,7 +500,7 @@ jobs:
|
|||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
with:
|
with:
|
||||||
path: /usr/local/share/vcpkg/installed
|
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: |
|
restore-keys: |
|
||||||
${{ steps.key.outputs.image }}-vcpkg-release
|
${{ steps.key.outputs.image }}-vcpkg-release
|
||||||
${{ steps.key.outputs.image }}-vcpkg-x64
|
${{ steps.key.outputs.image }}-vcpkg-x64
|
||||||
@@ -506,6 +510,8 @@ jobs:
|
|||||||
vcpkg install \
|
vcpkg install \
|
||||||
liblzma:x64-osx \
|
liblzma:x64-osx \
|
||||||
liblzma:arm64-osx \
|
liblzma:arm64-osx \
|
||||||
|
zstd:x64-osx \
|
||||||
|
zstd:arm64-osx \
|
||||||
libpng:x64-osx \
|
libpng:x64-osx \
|
||||||
libpng:arm64-osx \
|
libpng:arm64-osx \
|
||||||
lzo:x64-osx \
|
lzo:x64-osx \
|
||||||
@@ -699,7 +705,7 @@ jobs:
|
|||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
with:
|
with:
|
||||||
path: vcpkg/installed
|
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: |
|
restore-keys: |
|
||||||
${{ steps.key.outputs.image }}-vcpkg-${{ matrix.arch }}
|
${{ steps.key.outputs.image }}-vcpkg-${{ matrix.arch }}
|
||||||
|
|
||||||
@@ -708,6 +714,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
vcpkg install --triplet=${{ matrix.arch }}-windows-static \
|
vcpkg install --triplet=${{ matrix.arch }}-windows-static \
|
||||||
liblzma \
|
liblzma \
|
||||||
|
zstd \
|
||||||
libpng \
|
libpng \
|
||||||
lzo \
|
lzo \
|
||||||
zlib \
|
zlib \
|
||||||
|
|||||||
@@ -14,6 +14,7 @@
|
|||||||
#include "../widgets/rail_widget.h"
|
#include "../widgets/rail_widget.h"
|
||||||
#include "../widgets/road_widget.h"
|
#include "../widgets/road_widget.h"
|
||||||
|
|
||||||
|
#include <optional>
|
||||||
#include <queue>
|
#include <queue>
|
||||||
|
|
||||||
#include "../safeguards.h"
|
#include "../safeguards.h"
|
||||||
|
|||||||
Reference in New Issue
Block a user