From 1f57b4dd2d24805707b82aa1193af67801269dd0 Mon Sep 17 00:00:00 2001 From: Daz DeBoer Date: Mon, 26 Jul 2021 15:14:39 -0600 Subject: [PATCH] Re-add workflow jobs for dependencies and configuration caches --- .github/workflows/prod.yml | 35 ++++++++++++++++++++++++++++++++++- 1 file changed, 34 insertions(+), 1 deletion(-) diff --git a/.github/workflows/prod.yml b/.github/workflows/prod.yml index 29868e5..3c8c386 100644 --- a/.github/workflows/prod.yml +++ b/.github/workflows/prod.yml @@ -6,7 +6,7 @@ on: push: jobs: - check: + gradle-execution: strategy: matrix: os: [ubuntu-latest, macos-latest, windows-latest] @@ -47,6 +47,39 @@ jobs: wrapper-directory: __tests__/samples/basic arguments: help + dependencies-cache: + strategy: + matrix: + os: [ubuntu-latest, macos-latest, windows-latest] + runs-on: ${{ matrix.os }} + steps: + - name: Checkout sources + uses: actions/checkout@v2 + - name: Test dependencies-cache-enabled + uses: ./ + with: + build-root-directory: __tests__/samples/basic + arguments: test --no-daemon + dependencies-cache-enabled: true + + configuration-cache: + strategy: + matrix: + os: [ubuntu-latest, macos-latest, windows-latest] + runs-on: ${{ matrix.os }} + steps: + - name: Checkout sources + uses: actions/checkout@v2 + - name: Test dependencies-cache-enabled + uses: ./ + with: + build-root-directory: __tests__/samples/basic + arguments: test --configuration-cache --no-daemon + configuration-cache-enabled: true + dependencies-cache-enabled: true + # Configuration cache requires dependencies cache, since it assumes dependencies are already downloaded. + + failures: # These build invocations are informational only, and are expected to fail runs-on: ubuntu-latest steps: