From 35c643bd7e00e3e40006dd4e9bcabfdd42f53bfc Mon Sep 17 00:00:00 2001 From: Albert Ho Date: Wed, 14 Aug 2024 14:18:13 -0700 Subject: [PATCH] run all workflows --- .github/workflows/dotnet.yml | 54 +++++++++++++----------------------- 1 file changed, 20 insertions(+), 34 deletions(-) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 30ee8844..72a30a46 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -49,7 +49,7 @@ jobs: strategy: matrix: - os: [ubuntu-latest, macos-latest, windows-latest] + 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] include: - dotnet-version: 2.1.x @@ -67,22 +67,6 @@ jobs: - dotnet-version: 6.0.x binding-framework: net6.0 test-framework: net6.0 - - os: macos-13 - dotnet-version: 2.1.x - binding-framework: netstandard2.0 - test-framework: netcoreapp2.1 - - os: macos-13 - dotnet-version: 3.0.x - binding-framework: netcoreapp3.0 - test-framework: netcoreapp3.0 - - os: macos-13 - dotnet-version: 3.1.x - binding-framework: netcoreapp3.0 - test-framework: netcoreapp3.1 - - os: macos-13 - dotnet-version: 5.0.x - binding-framework: netcoreapp3.0 - test-framework: net5.0 exclude: - os: macos-latest dotnet-version: 2.1.x @@ -92,6 +76,8 @@ jobs: dotnet-version: 3.1.x - os: macos-latest dotnet-version: 5.0.x + - os: macos-13 + dotnet-version: 6.0.x steps: - uses: actions/checkout@v3 @@ -107,20 +93,20 @@ jobs: - name: Test run: dotnet test --framework ${{ matrix.test-framework }} -v n -# build-self-hosted: -# runs-on: ${{ matrix.machine }} -# env: -# ACCESS_KEY: ${{secrets.PV_VALID_ACCESS_KEY}} -# -# strategy: -# matrix: -# machine: [rpi3-32, rpi3-64, rpi4-32, rpi4-64, rpi5-64] -# -# steps: -# - uses: actions/checkout@v3 -# -# - name: Build binding -# run: dotnet build Rhino/Rhino.csproj --framework net6.0 -# -# - name: Test -# run: dotnet test --framework net6.0 -v n + build-self-hosted: + runs-on: ${{ matrix.machine }} + env: + ACCESS_KEY: ${{secrets.PV_VALID_ACCESS_KEY}} + + strategy: + matrix: + machine: [rpi3-32, rpi3-64, rpi4-32, rpi4-64, rpi5-64] + + steps: + - uses: actions/checkout@v3 + + - name: Build binding + run: dotnet build Rhino/Rhino.csproj --framework net6.0 + + - name: Test + run: dotnet test --framework net6.0 -v n