mirror of
https://github.com/rei-kes/Amalgam.git
synced 2025-06-24 18:22:30 +08:00
A couple changes
Priority visuals Fix bug related to doubletap MSBuild now builds both non AVX2 and AVX2 versions
This commit is contained in:
37
.github/workflows/msbuild.yml
vendored
37
.github/workflows/msbuild.yml
vendored
@ -1,36 +1,31 @@
|
||||
name: MSBuild
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ "master" ]
|
||||
pull_request:
|
||||
branches: [ "master" ]
|
||||
|
||||
env:
|
||||
SOLUTION_FILE_PATH: .
|
||||
|
||||
BUILD_PLATFORM: x64
|
||||
BUILD_CONFIGURATION: Release
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
msbuild:
|
||||
runs-on: windows-latest
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
configuration: [Release, ReleaseAVX2]
|
||||
platform: [x64]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Add MSBuild to PATH
|
||||
uses: microsoft/setup-msbuild@v1.1
|
||||
uses: microsoft/setup-msbuild@v2
|
||||
|
||||
- name: Restore NuGet packages
|
||||
working-directory: ${{env.GITHUB_WORKSPACE}}
|
||||
run: nuget restore ${{env.SOLUTION_FILE_PATH}}
|
||||
working-directory: ${{ env.GITHUB_WORKSPACE }}
|
||||
run: nuget restore
|
||||
|
||||
- name: Build
|
||||
working-directory: ${{env.GITHUB_WORKSPACE}}
|
||||
run: msbuild /m /p:Platform=${{env.BUILD_PLATFORM}} /p:Configuration=${{env.BUILD_CONFIGURATION}} ${{env.SOLUTION_FILE_PATH}}
|
||||
working-directory: ${{ env.GITHUB_WORKSPACE }}
|
||||
run: msbuild Amalgam.sln /p:Platform=${{ matrix.platform }} /p:Configuration=${{ matrix.configuration }}
|
||||
|
||||
- uses: actions/upload-artifact@v3
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: Amalgam
|
||||
path: ${{env.SOLUTION_FILE_PATH}}/output/${{env.BUILD_PLATFORM}}/${{env.BUILD_CONFIGURATION}}/*.dll
|
||||
name: Amalgam${{ matrix.platform }}${{ matrix.configuration }}
|
||||
path: output/${{ matrix.platform }}/${{ matrix.configuration }}/*.dll
|
Reference in New Issue
Block a user