Skip to content

Use version independent runtime #64

Use version independent runtime

Use version independent runtime #64

Workflow file for this run

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 }}/