Skip to content

Use d3d11.dll for Sonic Forces... for now. #409

Use d3d11.dll for Sonic Forces... for now.

Use d3d11.dll for Sonic Forces... for now. #409

Workflow file for this run

name: Windows Build
on:
push:
branches:
- rewrite
paths-ignore:
# Ignore code files.
- 'HedgeModManager/Resources/Codesv2/**'
env:
# Path to the solution file relative to the root of the project.
SOLUTION_FILE_PATH: .\HedgeModManager.sln
jobs:
build:
name: ${{matrix.configuration}}
runs-on: windows-latest
strategy:
matrix:
configuration: [Debug, Release]
steps:
- uses: actions/[email protected]
- name: Add Git hash to resources
working-directory: ${{env.GITHUB_WORKSPACE}}
run: echo ${{github.sha}} > HedgeModManager/Resources/Version.txt
- name: Add MSBuild to PATH
uses: microsoft/[email protected]
- name: Restore NuGet packages
working-directory: ${{env.GITHUB_WORKSPACE}}
run: nuget restore ${{env.SOLUTION_FILE_PATH}}
- name: Build
working-directory: ${{env.GITHUB_WORKSPACE}}
# Add additional options to the MSBuild command line here (like platform or verbosity level).
# See https://docs.microsoft.com/visualstudio/msbuild/msbuild-command-line-reference
run: msbuild /m /p:Configuration=${{matrix.configuration}} ${{env.SOLUTION_FILE_PATH}}
- uses: actions/[email protected]
with:
name: HedgeModManager-${{matrix.configuration}}
path: ${{github.workspace}}\HedgeModManager\bin\${{matrix.configuration}}\net472