Run build test with latest cmake

This commit is contained in:
Gyusun Yeom 2023-09-15 22:25:42 +09:00
parent bae9d1a33d
commit a13f8088ac

View File

@ -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