1
1
name : Run Cross-Platform Tests
2
2
3
- on :
4
- workflow_run :
5
- workflows : [Create Development Release]
6
- types : [completed]
7
- workflow_dispatch :
3
+ on : [ push ]
8
4
9
5
jobs :
10
6
cross_platform_tests :
11
7
name : Test
12
8
runs-on : ${{ matrix.os }}
13
- if : ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'workflow_dispatch' }}
14
9
strategy :
15
10
fail-fast : false
16
11
matrix :
39
34
uses : Vampire/setup-wsl@v2
40
35
with :
41
36
distribution : Ubuntu-20.04
42
- additional-packages : curl unzip wget apt-transport-https gnupg
37
+ additional-packages : curl unzip wget apt-transport-https gnupg autoconf
43
38
- name : Set up JDK ${{ matrix.java-version }} on WSL
44
39
if : ${{ runner.os == 'Windows' }}
45
40
run : |
@@ -53,38 +48,40 @@ jobs:
53
48
with :
54
49
java-version : ${{ matrix.java-version }}
55
50
distribution : ' temurin'
56
- - name : Download and extract build validation Scripts
51
+ - name : Checkout
52
+ uses : actions/checkout@v3
53
+ - name : Set up Gradle
54
+ uses : gradle/gradle-build-action@v2
55
+ - name : Build and extract build validation Scripts
57
56
run : |
58
- curl -L -O https://github.com/gradle/gradle-enterprise-build-validation-scripts/releases/download/development-latest/gradle-enterprise-gradle-build-validation-dev.zip
59
- unzip -o gradle-enterprise-gradle-build-validation-*.zip
60
- curl -L -O https://github.com/gradle/gradle-enterprise-build-validation-scripts/releases/download/development-latest/gradle-enterprise-maven-build-validation-dev.zip
61
- unzip -o gradle-enterprise-maven-build-validation-*.zip
57
+ ./gradlew build
58
+ unzip -q -o build/distributions/gradle-enterprise-gradle-build-validation-dev.zip
59
+ unzip -q -o build/distributions/gradle-enterprise-maven-build-validation-dev.zip
62
60
- name : Run Gradle Experiment 01
63
61
run : |
64
62
cd gradle-enterprise-gradle-build-validation
65
- ./01-validate-incremental-building.sh -r https://github.com/etiennestuder/java-ordered-properties -t build -s https://ge.solutions-team.gradle.com
63
+ ./01-validate-incremental-building.sh -r https://github.com/etiennestuder/java-ordered-properties -t build -s https://ge.solutions-team.gradle.com --debug
66
64
- name : Run Gradle Experiment 02
67
65
run : |
68
66
cd gradle-enterprise-gradle-build-validation
69
- ./02-validate-local-build-caching-same-location.sh -r https://github.com/etiennestuder/java-ordered-properties -t build -s https://ge.solutions-team.gradle.com
67
+ ./02-validate-local-build-caching-same-location.sh -r https://github.com/etiennestuder/java-ordered-properties -t build -s https://ge.solutions-team.gradle.com --debug
70
68
- name : Run Gradle Experiment 03
71
69
run : |
72
70
cd gradle-enterprise-gradle-build-validation
73
- ./03-validate-local-build-caching-different-locations.sh -r https://github.com/etiennestuder/java-ordered-properties -t build -s https://ge.solutions-team.gradle.com
71
+ ./03-validate-local-build-caching-different-locations.sh -r https://github.com/etiennestuder/java-ordered-properties -t build -s https://ge.solutions-team.gradle.com --debug
74
72
- name : Run Gradle Experiment 04
75
73
run : |
76
74
cd gradle-enterprise-gradle-build-validation
77
- ./04-validate-remote-build-caching-ci-ci.sh -1 https://ge.solutions-team.gradle.com/s/xildcv6frocau -2 https://ge.solutions-team.gradle.com/s/m5e7tyzedn562
75
+ ./04-validate-remote-build-caching-ci-ci.sh -1 https://ge.solutions-team.gradle.com/s/xildcv6frocau -2 https://ge.solutions-team.gradle.com/s/m5e7tyzedn562 --debug
78
76
- name : Run Maven Experiment 01
79
77
run : |
80
78
cd gradle-enterprise-maven-build-validation
81
- ./01-validate-local-build-caching-same-location.sh -r https://github.com/gradle/maven-build-scan-quickstart.git -g test -s https://ge.solutions-team.gradle.com
79
+ ./01-validate-local-build-caching-same-location.sh -r https://github.com/gradle/maven-build-scan-quickstart.git -g test -s https://ge.solutions-team.gradle.com --debug
82
80
- name : Run Maven Experiment 02
83
81
run : |
84
82
cd gradle-enterprise-maven-build-validation
85
- ./02-validate-local-build-caching-different-locations.sh -r https://github.com/gradle/maven-build-scan-quickstart.git -g test -s https://ge.solutions-team.gradle.com
83
+ ./02-validate-local-build-caching-different-locations.sh -r https://github.com/gradle/maven-build-scan-quickstart.git -g test -s https://ge.solutions-team.gradle.com --debug
86
84
- name : Run Maven Experiment 03
87
85
run : |
88
86
cd gradle-enterprise-maven-build-validation
89
- ./03-validate-remote-build-caching-ci-ci.sh -1 https://ge.solutions-team.gradle.com/s/oll3ve3wdv2t6 -2 https://ge.solutions-team.gradle.com/s/eaue4kvqnvnay
90
-
87
+ ./03-validate-remote-build-caching-ci-ci.sh -1 https://ge.solutions-team.gradle.com/s/oll3ve3wdv2t6 -2 https://ge.solutions-team.gradle.com/s/eaue4kvqnvnay --debug
0 commit comments