From 9d45751edc39f27029c5fbff621100ef5bcaca07 Mon Sep 17 00:00:00 2001 From: Albert Ho Date: Wed, 11 Sep 2024 15:52:03 -0700 Subject: [PATCH] try fix --- .github/workflows/dotnet-codestyle.yml | 1 + .github/workflows/dotnet.yml | 15 ++++++++++----- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/.github/workflows/dotnet-codestyle.yml b/.github/workflows/dotnet-codestyle.yml index 3706359ee..9dab04aca 100644 --- a/.github/workflows/dotnet-codestyle.yml +++ b/.github/workflows/dotnet-codestyle.yml @@ -39,6 +39,7 @@ jobs: working-directory: binding/dotnet - name: Add local NuGet package file + continue-on-error: true run: dotnet add package -s ../../../binding/dotnet/Porcupine/bin/Release Porcupine working-directory: demo/dotnet/PorcupineDemo # ******************************************************** diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 053af45c6..7e2013db1 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -50,7 +50,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, macos-latest, macos-13, windows-latest] - dotnet-version: [2.1.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, 8.0.x] include: - dotnet-version: 2.1.x binding-framework: netstandard2.0 @@ -67,6 +67,9 @@ jobs: - dotnet-version: 6.0.x binding-framework: net6.0 test-framework: net6.0 + - dotnet-version: 8.0.x + binding-framework: net8.0 + test-framework: net8.0 exclude: - os: macos-latest dotnet-version: 2.1.x @@ -76,8 +79,10 @@ jobs: dotnet-version: 3.1.x - os: macos-latest dotnet-version: 5.0.x - - os: macos-13 + - os: macos-latest dotnet-version: 6.0.x + - os: macos-13 + dotnet-version: 8.0.x steps: - uses: actions/checkout@v3 @@ -100,13 +105,13 @@ jobs: strategy: matrix: - machine: [rpi3-32, rpi3-64, rpi4-32, rpi4-64, rpi5-64] + machine: [rpi3-32, rpi3-64, rpi4-32, rpi4-64, rpi5-32, rpi5-64] steps: - uses: actions/checkout@v3 - name: Build binding - run: dotnet build Porcupine/Porcupine.csproj --framework net6.0 + run: dotnet build Porcupine/Porcupine.csproj --framework net8.0 - name: Test - run: dotnet test --framework net6.0 -v n + run: dotnet test --framework net8.0 -v n