Add option to flush mouse messages from message queue after repositio… #8
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: build | |
on: push | |
jobs: | |
compile: | |
name: Compile project | |
runs-on: windows-latest | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v4 | |
- name: Install VCVars | |
shell: pwsh | |
run: Install-Module -Name VCVars -Force | |
- name: Compile | |
shell: pwsh | |
run: | | |
pushvc (invoke-vcvars -TargetArch x86 -HostArch AMD64) | |
cmake --preset x86-msvc-relwithdebinfo -D3DMM_PACKAGE_WIX=OFF | |
cmake --build build/x86-msvc-relwithdebinfo --target dist | |
- name: Calculate release hash | |
shell: pwsh | |
run: | | |
Get-FileHash -Algorithm SHA256 build/x86-msvc-relwithdebinfo/3DMMEx-*.zip | |
- name: Upload Build Artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: Build Artifacts | |
path: | | |
build/x86-msvc-relwithdebinfo | |
!build/x86-msvc-relwithdebinfo/_CPack_Packages | |
!build/x86-msvc-relwithdebinfo/chomp/studio/*.chk | |
!build/x86-msvc-relwithdebinfo/*.zip | |
- name: Upload Release | |
uses: actions/upload-artifact@v4 | |
with: | |
name: 3DMMEx Release | |
path: | | |
build/x86-msvc-relwithdebinfo/*.zip | |
compression-level: 0 # already compressed |