Support non-ascii file paths (#76) #31
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: .NET Core 2.2 | |
on: | |
push: | |
paths-ignore: | |
- '**.md' | |
- '**.txt' | |
- '**.nuspec' | |
- 'Lame.Test.Framework/**' | |
- '.git*' | |
- '!.git*/**.yml' | |
jobs: | |
ci: | |
runs-on: windows-latest | |
strategy: | |
matrix: | |
dnversion: ['3.1.x', '2.1.x'] | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v3 | |
- name: Setup .NET Core ${{ matrix.dnversion }} | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: ${{ matrix.dnversion }} | |
- name: Setup MSBuild | |
uses: microsoft/[email protected] | |
- name: Setup VSTest | |
uses: darenm/[email protected] | |
- name: Restore packages | |
run: nuget restore NAudio.Lame.sln | |
- name: Build LameDLLWrap (Debug|x86) | |
run: dotnet build LameDLLWrap -c:Debug -p:Platform=x86 | |
- name: Build LameDLLWrap (Debug|x64) | |
run: dotnet build LameDLLWrap -c:Debug -p:Platform=x64 | |
- name: Build LameDLLWrap (Debug|AnyCPU) | |
run: dotnet build LameDLLWrap -c:Debug -p:Platform=AnyCPU | |
- name: Build NAudio.Lame | |
run: dotnet build NAudio.Lame -c:Debug -p:Platform=AnyCPU | |
- name: Build Lame.Test.Core | |
run: dotnet build Lame.Test.Core -c:Debug -p:Platform=AnyCPU | |
- name: Run .NET Core tests | |
run: dotnet test Lame.Test.Core | |
- name: Build Lame.Test.Framework | |
run: dotnet build Lame.Test.Framework -c:Debug -p:Platform=AnyCPU | |
- name: Run Framework tests | |
run: vstest.console.exe Lame.Test.Framework\bin\Debug\Lame.Test.Framework.dll |