chore(build): enable cross compilation plugin for Java 17 #3662
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Integration Tests | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
env: | |
GRADLE_OPTS: -Dorg.gradle.daemon=false -Xmx4g -Xms4g | |
jobs: | |
it-test-kubernetes: | |
uses: ./.github/workflows/integration-tests-kubernetes.yml | |
it-test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-java@v4 | |
with: | |
java-version: | | |
11 | |
17 | |
distribution: 'zulu' | |
- name: Cache on push | |
if: github.event_name == 'push' | |
uses: actions/cache@v4 | |
with: | |
path: ~/.gradle | |
key: ${{ runner.os }}-cd-it-${{ github.sha }} | |
# Restore build outputs from the previous commit (if successful), if current commit hasn't run successfully yet | |
restore-keys: | | |
${{ runner.os }}-cd-it-${{ github.event.before }} | |
- name: Cache on pull_request | |
if: github.event_name == 'pull_request' | |
uses: actions/cache@v4 | |
with: | |
path: ~/.gradle | |
key: ${{ runner.os }}-cd-it-${{ github.event.pull_request.head.sha }} | |
restore-keys: | | |
${{ runner.os }}-cd-it-${{ github.event.before }} | |
# Separating integration tests by provider allows to have separate logs | |
- name: Amazon ECS Provider Integration Tests | |
run: ./gradlew -PenableCrossCompilerPlugin=true--build-cache --no-daemon :clouddriver-ecs:integrationTest | |
- name: Artifacts Integration Tests | |
run: ./gradlew -PenableCrossCompilerPlugin=true --build-cache :clouddriver-artifacts:integrationTest | |
- name: AWS EC2 Provider Integration Tests | |
run: ./gradlew -PenableCrossCompilerPlugin=true --build-cache :clouddriver-aws:integrationTest |