Fix bug on command line parsing #329
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: MSVC build | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: microsoft/[email protected] | |
- name: Build x86 | |
run: | | |
mkdir x86 && cd x86 | |
cmake -G "Visual Studio 17 2022" -A Win32 .. -DBUILD_GMOCK=0 | |
msbuild GameCheats.sln /p:Platform=Win32 /p:Configuration=Release /m | |
- name: Build x64 | |
run: | | |
mkdir x64 && cd x64 | |
cmake -G "Visual Studio 17 2022" -A x64 .. -DBUILD_GMOCK=0 | |
msbuild GameCheats.sln /p:Platform=x64 /p:Configuration=Release /m | |
- name: Test x86 | |
run: x86/Release/HackLibTests.exe | |
- name: Test 64 | |
run: x64/Release/HackLibTests.exe | |
- name: Print Hashes | |
shell: pwsh | |
run: | | |
Get-ChildItem "x??/Release/*.exe" | Get-FileHash -Algorithm SHA256 | Format-List | Tee-Object Hashes.txt | |
- name: Create Release | |
uses: "marvinpinto/[email protected]" | |
with: | |
repo_token: "${{ secrets.GITHUB_TOKEN }}" | |
automatic_release_tag: "latest" | |
prerelease: true | |
title: "Automated release (latest commit)" | |
files: | | |
Hashes.txt | |
x64/Release/*.exe | |
x86/Release/*.exe |