Skip to content

Adding GLAD for OpenGL rendering and small cleanup CMakeLists #22

Adding GLAD for OpenGL rendering and small cleanup CMakeLists

Adding GLAD for OpenGL rendering and small cleanup CMakeLists #22

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