From a13f8088ac73f28d71d40726e29f4548a028093c Mon Sep 17 00:00:00 2001 From: Gyusun Yeom Date: Fri, 15 Sep 2023 22:25:42 +0900 Subject: [PATCH] Run build test with latest cmake --- .github/workflows/cmake.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index aead714..5719ce4 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -143,6 +143,28 @@ jobs: shell: bash run: test -e lib/libGLEW.a + build_latest: + runs-on: ubuntu-latest + container: ubuntu:latest + + steps: + - uses: actions/checkout@v2 + + - name: Install dependencies + run: apt update && apt install -y python3 python3-pip gcc libgl1-mesa-dev libx11-dev libxext-dev && pip install cmake + + - name: Configure CMake + shell: bash + run: cmake . -DCMAKE_BUILD_TYPE=$BUILD_TYPE + + - name: Build test + shell: bash + run: cmake --build . + + - name: Check alias + shell: bash + run: test -e lib/libGLEW.a + build_mingw: # The CMake configure and build commands are platform agnostic and should work equally # well on Windows or Mac. You can convert this to a matrix build if you need