It seems like the latest macOS image no longer supports JDK 8.
This commit is contained in:
Eugene Yokota
2024-05-05 01:02:19 -04:00
parent 0c6d7b8f30
commit a6bdf9dc2e
2 changed files with 17 additions and 12 deletions
+8 -8
View File
@@ -41,8 +41,8 @@ jobs:
distribution: adopt
jobtype: 7
- os: macos-latest
java: 8
distribution: adopt
java: 17
distribution: temurin
jobtype: 8
- os: windows-latest
java: 8
@@ -86,10 +86,10 @@ jobs:
with:
distribution: "${{ matrix.distribution }}"
java-version: "${{ matrix.java }}"
- name: Set up Python 3.7
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: 3.7
python-version: 3.12
- name: Coursier cache
uses: coursier/cache-action@v6
- name: Cache sbt
@@ -173,13 +173,13 @@ jobs:
shell: bash
run: |
# test building sbtn on macOS
sbt "-Dsbt.io.virtual=false" nativeImage
./sbt "-Dsbt.io.virtual=false" nativeImage
# test launcher script
echo build using JDK 8, test using JDK 8, on macOS
cd launcher-package
bin/coursier resolve
sbt -Dsbt.build.version=$TEST_SBT_VER integrationTest/test
cd citest && ./test.sh
../sbt -Dsbt.build.version=$TEST_SBT_VER integrationTest/test
# This fails due to the JLine issue
# cd citest && ./test.sh
- name: Build and test (9)
if: ${{ matrix.jobtype == 9 }}
shell: bash