From b4c4325ea4737eb92be3acbc9bc3ebc74ce205e4 Mon Sep 17 00:00:00 2001 From: JosiahWI Date: Sun, 6 Nov 2022 18:56:45 -0600 Subject: [PATCH] Add CI build for CMake 3.5 with GCC 5.3 --- .github/workflows/build.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 67864e86..514803de 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -132,6 +132,32 @@ jobs: cd bin/Linux LIBGL_ALWAYS_SOFTWARE=true xvfb-run ./AutomatedTest ogles2 + linux-minimum-cmake: + runs-on: ubuntu-latest + container: + image: ubuntu:bionic + env: { LANG: "C.UTF-8" } + steps: + - uses: actions/checkout@v2 + - name: Install deps + run: | + apt-get update + apt-get install g++-5 ninja-build libidn11 libxi-dev libgl1-mesa-dev libpng-dev libjpeg-dev zlib1g-dev -qyy + + - name: Setup CMake + uses: jwlawson/actions-setup-cmake@v1.13 + with: + cmake-version: "3.5.x" + + - name: Build + run: | + cmake -G Ninja -DCMAKE_CXX_COMPILER=/usr/bin/g++-5 -DCMAKE_BUILD_TYPE=Release . + cmake --build . + + - name: Test + run: | + ./bin/Linux/tests + mingw: name: "MinGW ${{matrix.config.variant}}${{matrix.config.extras}}" runs-on: ubuntu-22.04