Skip to content

Commit

Permalink
Scala 2.13.15
Browse files Browse the repository at this point in the history
  • Loading branch information
durban committed Sep 26, 2024
1 parent af14a51 commit e80427c
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 42 deletions.
76 changes: 38 additions & 38 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,63 +31,63 @@ jobs:
java:
- temurin@11
- temurin@21
- temurin@22
- temurin@23
- graal_22.3.3@11
- graalvm@21
- graalvm@22
- graalvm@23
- semeru@11
- semeru@21
- semeru@22
- semeru@23
include:
- os: macos-14
java: temurin@22
java: temurin@23
scala: 2.13
- os: windows-latest
java: temurin@22
java: temurin@23
scala: 2.13
- os: macos-14
java: temurin@22
java: temurin@23
scala: 3
- os: windows-latest
java: temurin@22
java: temurin@23
scala: 3
exclude:
- os: windows-latest
java: graal_22.3.3@11
- os: windows-latest
java: graalvm@21
- os: windows-latest
java: graalvm@22
java: graalvm@23
- os: windows-latest
java: semeru@11
- os: windows-latest
java: semeru@21
- os: windows-latest
java: semeru@22
java: semeru@23
- os: macos-14
java: graal_22.3.3@11
- os: macos-14
java: graalvm@21
- os: macos-14
java: graalvm@22
java: graalvm@23
- os: macos-14
java: semeru@11
- os: macos-14
java: semeru@21
- os: macos-14
java: semeru@22
java: semeru@23
- os: macos-14
java: temurin@11
- os: macos-14
java: temurin@21
- os: macos-14
java: temurin@22
java: temurin@23
- os: windows-latest
java: temurin@11
- os: windows-latest
java: temurin@21
- os: windows-latest
java: temurin@22
java: temurin@23
- os: ubuntu-latest
java: semeru@11
scala: 3
Expand Down Expand Up @@ -140,17 +140,17 @@ jobs:
shell: bash
run: sbt -v +update

- name: Setup Java (temurin@22)
id: setup-java-temurin-22
if: matrix.java == 'temurin@22'
- name: Setup Java (temurin@23)
id: setup-java-temurin-23
if: matrix.java == 'temurin@23'
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 22
java-version: 23
cache: sbt

- name: sbt update
if: matrix.java == 'temurin@22' && steps.setup-java-temurin-22.outputs.cache-hit == 'false'
if: matrix.java == 'temurin@23' && steps.setup-java-temurin-23.outputs.cache-hit == 'false'
shell: bash
run: sbt -v +update

Expand Down Expand Up @@ -182,17 +182,17 @@ jobs:
shell: bash
run: sbt -v +update

- name: Setup Java (graalvm@22)
id: setup-java-graalvm-22
if: matrix.java == 'graalvm@22'
- name: Setup Java (graalvm@23)
id: setup-java-graalvm-23
if: matrix.java == 'graalvm@23'
uses: graalvm/setup-graalvm@v1
with:
distribution: graalvm
java-version: 22
java-version: 23
cache: sbt

- name: sbt update
if: matrix.java == 'graalvm@22' && steps.setup-java-graalvm-22.outputs.cache-hit == 'false'
if: matrix.java == 'graalvm@23' && steps.setup-java-graalvm-23.outputs.cache-hit == 'false'
shell: bash
run: sbt -v +update

Expand Down Expand Up @@ -224,66 +224,66 @@ jobs:
shell: bash
run: sbt -v +update

- name: Setup Java (semeru@22)
id: setup-java-semeru-22
if: matrix.java == 'semeru@22'
- name: Setup Java (semeru@23)
id: setup-java-semeru-23
if: matrix.java == 'semeru@23'
uses: actions/setup-java@v4
with:
distribution: semeru
java-version: 22
java-version: 23
cache: sbt

- name: sbt update
if: matrix.java == 'semeru@22' && steps.setup-java-semeru-22.outputs.cache-hit == 'false'
if: matrix.java == 'semeru@23' && steps.setup-java-semeru-23.outputs.cache-hit == 'false'
shell: bash
run: sbt -v +update

- name: Check that workflows are up to date
shell: bash
run: sbt -v githubWorkflowCheck

- if: (!((matrix.java == 'semeru@11') || (matrix.java == 'semeru@21') || (matrix.java == 'semeru@22'))) && (!(contains(github.event.head_commit.message, 'full CI')))
- if: (!((matrix.java == 'semeru@11') || (matrix.java == 'semeru@21') || (matrix.java == 'semeru@23'))) && (!(contains(github.event.head_commit.message, 'full CI')))
shell: bash
run: sbt -v '++ ${{ matrix.scala }}' ci

- if: (!((matrix.java == 'semeru@11') || (matrix.java == 'semeru@21') || (matrix.java == 'semeru@22'))) && (contains(github.event.head_commit.message, 'full CI'))
- if: (!((matrix.java == 'semeru@11') || (matrix.java == 'semeru@21') || (matrix.java == 'semeru@23'))) && (contains(github.event.head_commit.message, 'full CI'))
shell: bash
run: sbt -v '++ ${{ matrix.scala }}' ciFull

- if: ((matrix.java == 'semeru@11') || (matrix.java == 'semeru@21') || (matrix.java == 'semeru@22')) && (!(contains(github.event.head_commit.message, 'full CI')))
- if: ((matrix.java == 'semeru@11') || (matrix.java == 'semeru@21') || (matrix.java == 'semeru@23')) && (!(contains(github.event.head_commit.message, 'full CI')))
shell: bash
run: 'sbt -v ''++ ${{ matrix.scala }}'' -J-Xgcpolicy:balanced ci'

- if: ((matrix.java == 'semeru@11') || (matrix.java == 'semeru@21') || (matrix.java == 'semeru@22')) && (contains(github.event.head_commit.message, 'full CI'))
- if: ((matrix.java == 'semeru@11') || (matrix.java == 'semeru@21') || (matrix.java == 'semeru@23')) && (contains(github.event.head_commit.message, 'full CI'))
shell: bash
run: 'sbt -v ''++ ${{ matrix.scala }}'' -J-Xgcpolicy:balanced ciFull'

- if: matrix.scala != '3'
shell: bash
run: sbt -v '++ ${{ matrix.scala }}' checkScalafix

- if: ((matrix.os == 'macos-14') || ((matrix.os == 'ubuntu-latest') && (matrix.java == 'temurin@22'))) && ((contains(github.event.head_commit.message, 'full CI')) || (contains(github.event.head_commit.message, 'stressLinchk')))
- if: ((matrix.os == 'macos-14') || ((matrix.os == 'ubuntu-latest') && (matrix.java == 'temurin@23'))) && ((contains(github.event.head_commit.message, 'full CI')) || (contains(github.event.head_commit.message, 'stressLinchk')))
shell: bash
run: sbt -v '++ ${{ matrix.scala }}' runLincheckTests

- if: ((matrix.os == 'macos-14') || ((matrix.os == 'ubuntu-latest') && (matrix.java == 'temurin@22'))) && ((contains(github.event.head_commit.message, 'full CI')) || (contains(github.event.head_commit.message, 'stressMcas')))
- if: ((matrix.os == 'macos-14') || ((matrix.os == 'ubuntu-latest') && (matrix.java == 'temurin@23'))) && ((contains(github.event.head_commit.message, 'full CI')) || (contains(github.event.head_commit.message, 'stressMcas')))
shell: bash
run: sbt -v '++ ${{ matrix.scala }}' stressMcas/Jcstress/run

- if: ((matrix.os == 'macos-14') || ((matrix.os == 'ubuntu-latest') && (matrix.java == 'temurin@22'))) && ((contains(github.event.head_commit.message, 'full CI')) || (contains(github.event.head_commit.message, 'stressCore')))
- if: ((matrix.os == 'macos-14') || ((matrix.os == 'ubuntu-latest') && (matrix.java == 'temurin@23'))) && ((contains(github.event.head_commit.message, 'full CI')) || (contains(github.event.head_commit.message, 'stressCore')))
shell: bash
run: sbt -v '++ ${{ matrix.scala }}' stressCore/Jcstress/run

- if: ((matrix.os == 'macos-14') || ((matrix.os == 'ubuntu-latest') && (matrix.java == 'temurin@22'))) && ((contains(github.event.head_commit.message, 'full CI')) || (contains(github.event.head_commit.message, 'stressData')))
- if: ((matrix.os == 'macos-14') || ((matrix.os == 'ubuntu-latest') && (matrix.java == 'temurin@23'))) && ((contains(github.event.head_commit.message, 'full CI')) || (contains(github.event.head_commit.message, 'stressData')))
shell: bash
run: sbt -v '++ ${{ matrix.scala }}' stressData/Jcstress/run

- if: ((matrix.os == 'macos-14') || ((matrix.os == 'ubuntu-latest') && (matrix.java == 'temurin@22'))) && ((contains(github.event.head_commit.message, 'full CI')) || (contains(github.event.head_commit.message, 'stressExperiments')))
- if: ((matrix.os == 'macos-14') || ((matrix.os == 'ubuntu-latest') && (matrix.java == 'temurin@23'))) && ((contains(github.event.head_commit.message, 'full CI')) || (contains(github.event.head_commit.message, 'stressExperiments')))
shell: bash
run: sbt -v '++ ${{ matrix.scala }}' stressExperiments/Jcstress/run

- name: Upload JCStress results
if: (success() || failure()) && ((matrix.os == 'macos-14') || ((matrix.os == 'ubuntu-latest') && (matrix.java == 'temurin@22'))) && (contains(github.event.head_commit.message, 'full CI') || (contains(github.event.head_commit.message, 'stressMcas') || contains(github.event.head_commit.message, 'stressCore') || contains(github.event.head_commit.message, 'stressData') || contains(github.event.head_commit.message, 'stressExperiments')))
if: (success() || failure()) && ((matrix.os == 'macos-14') || ((matrix.os == 'ubuntu-latest') && (matrix.java == 'temurin@23'))) && (contains(github.event.head_commit.message, 'full CI') || (contains(github.event.head_commit.message, 'stressMcas') || contains(github.event.head_commit.message, 'stressCore') || contains(github.event.head_commit.message, 'stressData') || contains(github.event.head_commit.message, 'stressExperiments')))
uses: actions/upload-artifact@v4
with:
name: jcstress-results-${{ matrix.os }}-${{ matrix.scala }}-${{ matrix.java }}
Expand Down
8 changes: 4 additions & 4 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,21 @@
*/

// Scala versions:
val scala2 = "2.13.14"
val scala2 = "2.13.15"
val scala3 = "3.3.3"

// CI JVM versions:
val jvmOldest = JavaSpec.temurin("11")
val jvmLts = JavaSpec.temurin("21")
val jvmLatest = JavaSpec.temurin("22")
val jvmLatest = JavaSpec.temurin("23")
val jvmTemurins = List(jvmOldest, jvmLts, jvmLatest)
val jvmGraalOldest = JavaSpec(JavaSpec.Distribution.GraalVM("22.3.3"), "11")
val jvmGraalLts = JavaSpec.graalvm("21")
val jvmGraalLatest = JavaSpec.graalvm("22")
val jvmGraalLatest = JavaSpec.graalvm("23")
val jvmGraals = List(jvmGraalOldest, jvmGraalLts, jvmGraalLatest)
val jvmOpenj9Oldest = JavaSpec.semeru("11")
val jvmOpenj9Lts = JavaSpec.semeru("21")
val jvmOpenj9Latest = JavaSpec.semeru("22")
val jvmOpenj9Latest = JavaSpec.semeru("23")
val jvmOpenj9s = List(jvmOpenj9Oldest, jvmOpenj9Lts, jvmOpenj9Latest)

// CI OS versions:
Expand Down

0 comments on commit e80427c

Please sign in to comment.