Merge pull request #26 from Muspah/issue/25 #4
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: Build PDW (Win32) | |
| on: | |
| push: | |
| branches: [ master ] | |
| pull_request: | |
| branches: [ master ] | |
| jobs: | |
| build: | |
| runs-on: windows-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Configure CMake (Win32 / Release) | |
| shell: pwsh | |
| run: | | |
| cmake -S . -B build ` | |
| -G "Visual Studio 17 2022" ` | |
| -A Win32 ` | |
| -DCMAKE_BUILD_TYPE=Release | |
| - name: Build | |
| shell: pwsh | |
| run: | | |
| cmake --build build --config Release --target PDW | |
| - name: Upload artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: PDW-Win32-Release | |
| path: build\Release\PDW.exe | |
| if-no-files-found: error |