A couple changes

Priority visuals
Fix bug related to doubletap
MSBuild now builds both non AVX2 and AVX2 versions
This commit is contained in:
rei-kes
2024-05-27 15:31:48 -04:00
parent f846ae69a1
commit baa13d7d08
16 changed files with 308 additions and 109 deletions

View File

@ -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