diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index df1c8988c5..cb4a193283 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -58,11 +58,11 @@ jobs: strategy: matrix: os: [ubuntu-latest, macos-latest, windows-latest] - dotnet-version: [2.0.x, 3.0.x, 3.1.x, 5.0.x, 6.0.x] + dotnet-version: [2.1.x, 3.0.x, 3.1.x, 5.0.x, 6.0.x] include: - - dotnet-version: 2.0.x + - dotnet-version: 2.1.x binding-framework: netstandard2.0 - test-framework: netcoreapp2.0 + test-framework: netcoreapp2.1 - dotnet-version: 3.0.x binding-framework: netcoreapp3.0 test-framework: netcoreapp3.0 @@ -88,7 +88,7 @@ jobs: run: dotnet build Porcupine/Porcupine.csproj --framework ${{ matrix.binding-framework }} - name: Test - run: dotnet test --framework ${{ matrix.test-framework }} -v d + run: dotnet test --framework ${{ matrix.test-framework }} -v n build-self-hosted: runs-on: ${{ matrix.machine }} @@ -106,4 +106,4 @@ jobs: run: dotnet build Porcupine/Porcupine.csproj --framework net6.0 - name: Test - run: dotnet test --framework net6.0 -v d + run: dotnet test --framework net6.0 -v n diff --git a/binding/dotnet/PorcupineTest/MainTest.cs b/binding/dotnet/PorcupineTest/MainTest.cs index cb7cf7ab48..3b6f718410 100644 --- a/binding/dotnet/PorcupineTest/MainTest.cs +++ b/binding/dotnet/PorcupineTest/MainTest.cs @@ -18,7 +18,6 @@ specific language governing permissions and limitations under the License. using Microsoft.VisualStudio.TestTools.UnitTesting; -using Newtonsoft.Json; using Newtonsoft.Json.Linq; using Pv; diff --git a/binding/dotnet/PorcupineTest/PorcupineTest.csproj b/binding/dotnet/PorcupineTest/PorcupineTest.csproj index 93545c57ec..54c3549913 100644 --- a/binding/dotnet/PorcupineTest/PorcupineTest.csproj +++ b/binding/dotnet/PorcupineTest/PorcupineTest.csproj @@ -1,25 +1,42 @@  - - net6.0;net5.0;netcoreapp3.1;netcoreapp3.0;netcoreapp2.0; - false - + + net6.0;net5.0;netcoreapp3.1;netcoreapp3.0;netcoreapp2.1; + false + - - - - - - - + + + + + + + - - - - - - resources\audio_samples\%(Filename)%(Extension) - PreserveNewest - - + + + + + + resources\audio_samples\%(Filename)%(Extension) + PreserveNewest + + + + + PreserveNewest + libpv_porcupine.dll + false + + + PreserveNewest + libpv_porcupine.so + false + + + PreserveNewest + libpv_porcupine.dylib + false + +