Skip to content

Commit df0d434

Browse files
authored
Merge pull request #642 from gradle/erichaagdev/update-runner-os
Tested OS and Java versions are updated
2 parents 71ca6d1 + 7ffeece commit df0d434

File tree

2 files changed

+30
-20
lines changed

2 files changed

+30
-20
lines changed

Diff for: .github/workflows/cross-platform-testing-build-from-source.yml

+15-10
Original file line numberDiff line numberDiff line change
@@ -35,16 +35,21 @@ jobs:
3535
strategy:
3636
fail-fast: false
3737
matrix:
38-
os: [ubuntu-20.04, ubuntu-22.04, macos-11, macos-12, windows-2019]
39-
java-version: [ '8', '11', '17' ]
38+
# Only the latest available version of each OS is tested
39+
# Both macOS 13 and 14 are tested because they use different architectures
40+
os:
41+
- ubuntu-24.04
42+
- macos-13 # x86_64
43+
- macos-14 # aarch64
44+
- windows-2019
45+
# Only LTS versions greater than 8 are tested
46+
java-version: [ '8', '11', '17', '21' ]
4047
include:
41-
- os: ubuntu-20.04
48+
- os: ubuntu-24.04
4249
shell: bash
43-
- os: ubuntu-22.04
50+
- os: macos-13
4451
shell: bash
45-
- os: macos-11
46-
shell: bash
47-
- os: macos-12
52+
- os: macos-14
4853
shell: bash
4954
- os: windows-2019
5055
shell: wsl-bash
@@ -59,7 +64,7 @@ jobs:
5964
if: ${{ runner.os == 'Windows' }}
6065
uses: Vampire/setup-wsl@v3
6166
with:
62-
distribution: Ubuntu-22.04
67+
distribution: Ubuntu-24.04
6368
additional-packages: curl unzip wget apt-transport-https gnupg
6469
- name: Set up JDK ${{ matrix.java-version }} on WSL
6570
if: ${{ runner.os == 'Windows' }}
@@ -73,7 +78,7 @@ jobs:
7378
uses: actions/setup-java@v4
7479
with:
7580
java-version: ${{ matrix.java-version }}
76-
distribution: 'temurin'
81+
distribution: ${{ matrix.os == 'macos-14' && 'zulu' || 'temurin' }} # No Temurin JDK 8 distribution for aarch64
7782
- name: Download built script artifacts
7883
uses: actions/download-artifact@v4
7984
with:
@@ -101,7 +106,7 @@ jobs:
101106
- name: Run Gradle Experiment 05
102107
run: |
103108
cd gradle-enterprise-gradle-build-validation
104-
./05-validate-remote-build-caching-ci-local.sh -1 https://ge.solutions-team.gradle.com/s/p4ghldkcscfwi -s https://ge.solutions-team.gradle.com -u https://ge.solutions-team.gradle.com/cache/
109+
./05-validate-remote-build-caching-ci-local.sh -1 https://ge.solutions-team.gradle.com/s/cemwsttqjhzhq -s https://ge.solutions-team.gradle.com -u https://ge.solutions-team.gradle.com/cache/
105110
- name: Run Maven Experiment 01
106111
run: |
107112
cd gradle-enterprise-maven-build-validation

Diff for: .github/workflows/cross-platform-testing-use-development-release.yml

+15-10
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,21 @@ jobs:
1414
strategy:
1515
fail-fast: false
1616
matrix:
17-
os: [ubuntu-20.04, ubuntu-22.04, macos-11, macos-12, windows-2019]
18-
java-version: [ '8', '11', '17' ]
17+
# Only the latest available version of each OS is tested
18+
# Both macOS 13 and 14 are tested because they use different architectures
19+
os:
20+
- ubuntu-24.04
21+
- macos-13 # x86_64
22+
- macos-14 # aarch64
23+
- windows-2019
24+
# Only LTS versions greater than 8 are tested
25+
java-version: [ '8', '11', '17', '21' ]
1926
include:
20-
- os: ubuntu-20.04
27+
- os: ubuntu-24.04
2128
shell: bash
22-
- os: ubuntu-22.04
29+
- os: macos-13
2330
shell: bash
24-
- os: macos-11
25-
shell: bash
26-
- os: macos-12
31+
- os: macos-14
2732
shell: bash
2833
- os: windows-2019
2934
shell: wsl-bash
@@ -38,7 +43,7 @@ jobs:
3843
if: ${{ runner.os == 'Windows' }}
3944
uses: Vampire/setup-wsl@v3
4045
with:
41-
distribution: Ubuntu-22.04
46+
distribution: Ubuntu-24.04
4247
additional-packages: curl unzip wget apt-transport-https gnupg
4348
- name: Set up JDK ${{ matrix.java-version }} on WSL
4449
if: ${{ runner.os == 'Windows' }}
@@ -52,7 +57,7 @@ jobs:
5257
uses: actions/setup-java@v4
5358
with:
5459
java-version: ${{ matrix.java-version }}
55-
distribution: 'temurin'
60+
distribution: ${{ matrix.os == 'macos-14' && 'zulu' || 'temurin' }} # No Temurin JDK 8 distribution for aarch64
5661
- name: Download and extract build validation Scripts
5762
run: |
5863
curl -L -O https://github.com/gradle/gradle-enterprise-build-validation-scripts/releases/download/development-latest/gradle-enterprise-gradle-build-validation-dev.zip
@@ -78,7 +83,7 @@ jobs:
7883
- name: Run Gradle Experiment 05
7984
run: |
8085
cd gradle-enterprise-gradle-build-validation
81-
./05-validate-remote-build-caching-ci-local.sh -1 https://ge.solutions-team.gradle.com/s/p4ghldkcscfwi -s https://ge.solutions-team.gradle.com -u https://ge.solutions-team.gradle.com/cache/
86+
./05-validate-remote-build-caching-ci-local.sh -1 https://ge.solutions-team.gradle.com/s/cemwsttqjhzhq -s https://ge.solutions-team.gradle.com -u https://ge.solutions-team.gradle.com/cache/
8287
- name: Run Maven Experiment 01
8388
run: |
8489
cd gradle-enterprise-maven-build-validation

0 commit comments

Comments
 (0)