simplified working with houses logic #1472
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: Akhenaten Build Windows | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
windows: | |
name: run on windows | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: ilammy/[email protected] | |
- name: update-workspace | |
shell: pwsh | |
run: | | |
mkdir build | |
mkdir bin_x64 | |
- name: build-project | |
run: | | |
cd build | |
cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo .. | |
cd .. | |
cmake --build ./build --target akhenaten --config RelWithDebInfo | |
copy ./build/RelWithDebInfo/akhenaten.exe ./bin_x64/akhenaten.exe | |
copy ./build/RelWithDebInfo/akhenaten.pdb ./bin_x64/akhenaten.pdb | |
- name: create-package | |
shell: pwsh | |
run: | | |
Compress-Archive -Path bin_x64/* -Destination windows_build.zip | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: windows_build | |
path: bin_x64 |