Fix workflows #8
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: Windows Build | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build-and-test: | |
runs-on: windows-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Install packages | |
run: | | |
choco install mingw | |
choco install glfw3 | |
- name: Configure build | |
run: | | |
mkdir -p build | |
cd build | |
cmake -DCMAKE_BUILD_TYPE=Debug ../ | |
- name: Build project | |
run: | | |
cd build | |
make | |
# - name: Run tests | |
# run: | | |
# cd build | |
# ctest --output-on-failure |