Merge pull request #14 from nefarius/shoulder-ui-rework #115
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 | |
| on: | |
| push: | |
| branches: [master] | |
| pull_request: | |
| branches: [master] | |
| jobs: | |
| build: | |
| runs-on: windows-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - name: Install vpatch | |
| run: dotnet tool install --global Nefarius.Tools.Vpatch | |
| - name: Stamp version in resource file | |
| shell: pwsh | |
| run: | | |
| $version = "0.0.${{ github.run_number }}" | |
| vpatch --stamp-version $version --target-file "res\app.rc" --resource.file-version --resource.product-version | |
| - name: Bootstrap vcpkg | |
| run: vcpkg/bootstrap-vcpkg.bat | |
| - name: Configure | |
| run: cmake --preset default | |
| - name: Build Release | |
| run: cmake --build --preset release | |
| - name: Upload artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: MultiPadTester | |
| path: build/Release/MultiPadTester.exe |