From a5c9b6d781f283e2838205e301d992b3963b4f26 Mon Sep 17 00:00:00 2001 From: "Alecio Furanze (Ale)" Date: Sun, 30 Jun 2024 06:50:33 +0200 Subject: [PATCH] upgrade development build workflow --- .../workflows/dotnet-development-build.yml | 24 ++++++++++++------- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/.github/workflows/dotnet-development-build.yml b/.github/workflows/dotnet-development-build.yml index 5d3df814..d90b4ecf 100644 --- a/.github/workflows/dotnet-development-build.yml +++ b/.github/workflows/dotnet-development-build.yml @@ -1,7 +1,7 @@ # This workflow will build a .NET project # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net -name: Development +name: DevBuild concurrency: group: "${{ github.workflow }}/${{ github.ref }}" @@ -9,18 +9,25 @@ concurrency: on: push: - branches: [ "dev" ] + branches: + - "**" pull_request: - branches: [ "dev" ] + branches: + - "**" jobs: - build: + test: # config strategy strategy: - fail-fast: false max-parallel: 3 + fail-fast: false matrix: - version: [ 6.0 ] + version: [ 8.0 ] + # temp: disable macos test + # os: [ ubuntu-latest, windows-latest ] + # temp: disable macos and linux test + # os: [ windows-latest ] + # note: test all os os: [ ubuntu-latest, windows-latest, macos-latest ] # config os runs-on: ${{ matrix.os }} @@ -34,9 +41,8 @@ jobs: with: dotnet-version: ${{ matrix.version }} # restore dependencies - - name: Netly Restore dependencies + - name: Restore Netly Project run: dotnet restore ./src/Netly.csproj - # build netly library + # run netly test - name: Build Netly Library run: dotnet build ./src/Netly.csproj -c Debug --no-restore -