From 2767e60ce14c0983faee784e4342da90624469d4 Mon Sep 17 00:00:00 2001 From: Benedek Farkas Date: Fri, 7 Jun 2024 12:47:19 +0200 Subject: [PATCH] Testing BuildJet vs. WarpBuild with one iteration to populate cache --- .github/workflows/build-and-test.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index cd61a8a4..a04cfbe8 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -11,10 +11,13 @@ jobs: build-and-test-larger-runners: if: github.ref_name != github.event.repository.default_branch name: Build and Test (larger runners) - uses: Lombiq/GitHub-Actions/.github/workflows/build-and-test-dotnet.yml@dev + uses: Lombiq/GitHub-Actions/.github/workflows/build-and-test-dotnet.yml@issue/OSOE-790 + strategy: + matrix: + iteration: [1] with: - parent-job-name: "root-solution-larger-runners" - machine-types: "['buildjet-4vcpu-ubuntu-2204']" + parent-job-name: root-solution-larger-runners-${{ matrix.iteration }} + machine-types: "['buildjet-4vcpu-ubuntu-2204', 'warp-ubuntu-2204-x64-4x']" timeout-minutes: 15 build-configuration: Debug build-enable-nuget-caching: "true" @@ -31,6 +34,7 @@ jobs: build-and-test-nuget-test: name: Build and Test - NuGetTest solution + if: false uses: Lombiq/GitHub-Actions/.github/workflows/build-and-test-dotnet.yml@dev with: parent-job-name: "nuget-solution"