mirror of
https://github.com/Perlmint/glew-cmake.git
synced 2024-11-21 22:25:06 +00:00
Run build test with latest cmake
This commit is contained in:
parent
bae9d1a33d
commit
a13f8088ac
22
.github/workflows/cmake.yml
vendored
22
.github/workflows/cmake.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user