Use version independent runtime #64
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 Workflow | |
on: [ push, pull_request ] | |
jobs: | |
build: | |
name: Build (${{ matrix.config }}) | |
runs-on: windows-2022 | |
strategy: | |
matrix: | |
config: [ Debug, Release ] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
submodules: recursive | |
- name: Add MSBuild to PATH | |
uses: microsoft/[email protected] | |
- name: Download Premake | |
shell: powershell | |
run: Invoke-WebRequest https://github.com/premake/premake-core/releases/download/v5.0.0-beta1/premake-5.0.0-beta1-windows.zip -OutFile ./premake/premake.zip | |
- name: Extract Premake | |
shell: powershell | |
run: Expand-Archive -Path ./premake/premake.zip -DestinationPath ./premake | |
- name: Generate project | |
run: | | |
cd premake | |
./generate_project.bat | |
- name: Build | |
run: | | |
cd premake/project | |
MSBuild.exe RED4.RTTIDumper.sln -v:minimal -m -property:Configuration=${{ matrix.config }} | |
- name: Upload artifacts | |
uses: actions/upload-artifact@v2 | |
with: | |
name: RED4.RTTIDumper-${{ matrix.config }} | |
path: build/${{ matrix.config }}/ |