diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 15b4961..7c47995 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -42,7 +42,8 @@ jobs: run: dotnet test -v m -c Release build_wpf: - needs: test + # Tests can be run parallelly for debug builds to save time + # needs: test runs-on: windows-latest steps: - name: Checkout @@ -74,7 +75,8 @@ jobs: path: BililiveRecorder.WPF/bin/Release build_cli: - needs: test + # Tests can be run parallelly for debug builds to save time + # needs: test strategy: matrix: rid: [any, linux-arm, linux-arm64, linux-x64, osx-x64, osx-arm64, win-x64] @@ -117,7 +119,8 @@ jobs: path: BililiveRecorder.Cli/publish/${{ matrix.rid }}/Release build_docker: - needs: test + # Tests can be run parallelly for debug builds to save time + # needs: test runs-on: ubuntu-latest if: github.event_name != 'pull_request' permissions: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3c9bc73..a6b5fd0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -39,7 +39,7 @@ jobs: run: dotnet test -v m -c Release release_wpf: - needs: test + needs: test # Tests must be passed before releasing strategy: matrix: build_configuration: [Release] @@ -81,7 +81,7 @@ jobs: asset_content_type: application/zip release_cli: - needs: test + needs: test # Tests must be passed before releasing strategy: matrix: rid: [any, linux-arm, linux-arm64, linux-x64, osx-x64, osx-arm64, win-x64] @@ -128,7 +128,7 @@ jobs: asset_content_type: application/zip release_docker: - needs: test + needs: test # Tests must be passed before releasing runs-on: ubuntu-latest permissions: contents: read