Adding GLAD for OpenGL rendering and small cleanup CMakeLists #22
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CMake | |
on: [push] | |
env: | |
BUILD_TYPE: Release | |
jobs: | |
build: | |
# Currently test only on Windows as it is currently the only supported platform. | |
runs-on: windows-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Checkout submodules | |
run: git submodule update --init --recursive | |
- name: Create Win64 build directory | |
run: cmake -E make_directory ${{runner.workspace}}/Win64Build | |
- name: Setup CMake | |
shell: bash | |
working-directory: ${{runner.workspace}}/Win64Build | |
run: cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=$BUILD_TYPE | |
- name: Build Release Win64 | |
working-directory: ${{runner.workspace}}/Win64Build | |
shell: bash | |
run: cmake --build . --config $BUILD_TYPE |