summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatric Stout <truebrain@openttd.org>2021-02-19 19:34:40 +0100
committerPatric Stout <github@truebrain.nl>2021-02-19 19:56:40 +0100
commitb124c49ea4823975c35216c14dbfb93ada34fcd3 (patch)
tree7168828acf603a50f91d13ed6d3d90c1c3098bd1
parent8bf8c0f25188ecd17165dbb49739e7d193396790 (diff)
downloadopenttd-b124c49ea4823975c35216c14dbfb93ada34fcd3.tar.xz
Fix: [Actions] Also run CI against libsdl1.2 for every pull request
-rw-r--r--.github/workflows/ci-build.yml15
1 files changed, 10 insertions, 5 deletions
diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml
index 4fbb04dbd..7996fd9be 100644
--- a/.github/workflows/ci-build.yml
+++ b/.github/workflows/ci-build.yml
@@ -66,10 +66,15 @@ jobs:
fail-fast: false
matrix:
include:
- - compiler: clang
- cxxcompiler: clang++
- - compiler: gcc
- cxxcompiler: g++
+ - compiler: clang
+ cxxcompiler: clang++
+ libsdl: libsdl2-dev
+ - compiler: gcc
+ cxxcompiler: g++
+ libsdl: libsdl2-dev
+ - compiler: gcc
+ cxxcompiler: g++
+ libsdl: libsdl1.2-dev
runs-on: ubuntu-20.04
env:
@@ -93,7 +98,7 @@ jobs:
libicu-dev \
liblzma-dev \
liblzo2-dev \
- libsdl2-dev \
+ ${{ matrix.libsdl }} \
zlib1g-dev \
# EOF
echo "::endgroup::"