macOS compilation fixes (#56) #49
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, pull_request] | |
jobs: | |
build: | |
runs-on: windows-2022 | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: true | |
- name: Generate Solution | |
run: cmake -S ./ -B ./build | |
- name: Build Debug | |
working-directory: ${{env.GITHUB_WORKSPACE}} | |
continue-on-error: true | |
run: cmake --build ./build | |
- name: Upload Debug Artifact | |
uses: actions/upload-artifact@v2 | |
with: | |
name: TerraForge3D Windows Debug Build | |
path: build\Debug | |
- name: Build Release | |
working-directory: ${{env.GITHUB_WORKSPACE}} | |
continue-on-error: true | |
run: cmake --build ./build --config=Release | |
- name: Upload Release Artifact | |
uses: actions/upload-artifact@v2 | |
with: | |
name: TerraForge3D Windows Release Build | |
path: build\Release |