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