Skip to content

Switch audio playback to NAudio; clarify Mode function names; fix jso… #154

Switch audio playback to NAudio; clarify Mode function names; fix jso…

Switch audio playback to NAudio; clarify Mode function names; fix jso… #154

Workflow file for this run

name: Build and Test
on:
workflow_dispatch: {}
push:
branches: [ master ]
jobs:
build:
runs-on: [windows-latest]
steps:
- uses: actions/checkout@v3
- name: Setup MSBuild
uses: microsoft/[email protected]
- name: Setup NuGet
uses: nuget/setup-nuget@v1
- name: Restore NuGet Packages
run: nuget restore SierraHOTAS.sln
- name: Build
run: msbuild SierraHOTAS.sln -m /p:Configuration=Release
# - name: Test
# run: packages\xunit.runner.console.2.4.1\tools\net472\xunit.console.exe tests\bin\Release\SierraHOTAS.Tests.dll -xml sierrahotas-test-results.xml
# - name: Test
# run: dotnet test tests\bin\Release\SierraHOTAS.Tests.dll --logger "html;logfilename=sierrahotas-test-results.html"
#
# - name: Upload Unit Test Results
# if: always()
# uses: actions/upload-artifact@v3
# with:
# name: Unit Test Results
# path: TestResults\sierrahotas-test-results.html
- name: Create Setup
run: msbuild SierraHOTASSetup\SierraHOTASSetup.wixproj -m /p:Configuration=Release
# - name: Display structure of downloaded files
# run: ls -R
- name: Create release
uses: ncipollo/release-action@v1
with:
tag: v${{ github.run_number }}
name: Release ${{ github.run_number }}
artifacts: SierraHOTASSetup\Installer\SierraHOTAS-Release-*.msi