Re-add workflow jobs for dependencies and configuration caches

This commit is contained in:
Daz DeBoer 2021-07-26 15:14:39 -06:00
parent 02d4f46354
commit 1f57b4dd2d
No known key found for this signature in database
GPG key ID: DD6B9F0B06683D5D

View file

@ -6,7 +6,7 @@ on:
push: push:
jobs: jobs:
check: gradle-execution:
strategy: strategy:
matrix: matrix:
os: [ubuntu-latest, macos-latest, windows-latest] os: [ubuntu-latest, macos-latest, windows-latest]
@ -47,6 +47,39 @@ jobs:
wrapper-directory: __tests__/samples/basic wrapper-directory: __tests__/samples/basic
arguments: help 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 failures: # These build invocations are informational only, and are expected to fail
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps: