properly setup empire trader id #2473
This file contains hidden or 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 | |
| mkdir bin_x64/data | |
| - 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 | |
| copy ./data/pharaoh_fonts_pack.sgx ./bin_x64/data/pharaoh_fonts_pack.sgx | |
| copy ./data/pharaoh_custom_pack.sgx ./bin_x64/data/pharaoh_custom_pack.sgx | |
| copy ./data/pharaoh_houses_pack.sgx ./bin_x64/data/pharaoh_houses_pack.sgx | |
| copy ./data/neucha.ttf ./bin_x64/data/neucha.ttf | |
| - 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 |