Skip to content

Commit 0579c28

Browse files
authored
Merge pull request scala#10402 from SethTisue/merge-2.12-to-2.13-20230517-2
2 parents 366ba4a + 7d338f8 commit 0579c28

File tree

4 files changed

+20
-11
lines changed

4 files changed

+20
-11
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,16 @@ jobs:
1919
fail-fast: false
2020
matrix:
2121
os: [ubuntu-latest, windows-latest]
22+
java-distribution: [temurin]
2223
java: [8, 11, 17, 20]
24+
# 21-ea will presumably be available from Temurin eventually, but for now:
25+
include:
26+
- os: ubuntu-latest
27+
java-distribution: zulu
28+
java: 21-ea
29+
- os: windows-latest
30+
java-distribution: zulu
31+
java: 21-ea
2332
runs-on: ${{matrix.os}}
2433
steps:
2534
- run: git config --global core.autocrlf false
@@ -29,15 +38,15 @@ jobs:
2938
- name: Setup Java
3039
uses: actions/setup-java@v3
3140
with:
32-
distribution: temurin
41+
distribution: ${{matrix.java-distribution}}
3342
java-version: ${{matrix.java}}
3443
cache: sbt
3544

3645
- name: Build
3746
run: |
38-
sbt setupPublishCore generateBuildCharacterPropertiesFile headerCheck publishLocal
47+
sbt -Dsbt.scala.version=2.12.18-M2 setupPublishCore generateBuildCharacterPropertiesFile headerCheck publishLocal
3948
4049
- name: Test
4150
run: |
4251
STARR=`cat buildcharacter.properties | grep ^maven.version.number | cut -d= -f2` && echo $STARR
43-
sbt -Dstarr.version=$STARR setupValidateTest test:compile info testAll
52+
sbt -Dsbt.scala.version=2.12.18-M2 -Dstarr.version=$STARR setupValidateTest test:compile info testAll

.travis.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ templates: # this has no effect on travis, it's just a place to put our template
2727
name: build, publishLocal, build again
2828
script:
2929
- set -e
30-
- sbt setupPublishCore generateBuildCharacterPropertiesFile headerCheck publishLocal
30+
- sbt -Dsbt.scala.version=2.12.18-M2 setupPublishCore generateBuildCharacterPropertiesFile headerCheck publishLocal
3131
- STARR=$(sed -n 's/^maven\.version\.number=//p' buildcharacter.properties) && echo $STARR
32-
- sbt -Dstarr.version=$STARR setupValidateTest compile
32+
- sbt -Dsbt.scala.version=2.12.18-M2 -Dstarr.version=$STARR setupValidateTest compile
3333
workspaces:
3434
create:
3535
name: bootstrapped
@@ -53,7 +53,7 @@ templates: # this has no effect on travis, it's just a place to put our template
5353
script:
5454
- set -e
5555
- STARR=$(sed -n 's/^maven\.version\.number=//p' buildcharacter.properties) && echo $STARR
56-
- sbt -Dstarr.version=$STARR setupValidateTest Test/compile testAll1
56+
- sbt -Dsbt.scala.version=2.12.18-M2 -Dstarr.version=$STARR setupValidateTest Test/compile testAll1
5757

5858
test2: &test2
5959
stage: test
@@ -63,7 +63,7 @@ templates: # this has no effect on travis, it's just a place to put our template
6363
script:
6464
- set -e
6565
- STARR=$(sed -n 's/^maven\.version\.number=//p' buildcharacter.properties) && echo $STARR
66-
- sbt -Dstarr.version=$STARR setupValidateTest testAll2
66+
- sbt -Dsbt.scala.version=2.12.18-M2 -Dstarr.version=$STARR setupValidateTest testAll2
6767

6868
jobs:
6969
include:
@@ -113,7 +113,7 @@ jobs:
113113
script:
114114
- set -e
115115
- STARR=$(sed -n 's/^maven\.version\.number=//p' buildcharacter.properties) && echo $STARR
116-
- sbt -Dscala.build.compileWithDotty=true library/compile
116+
- sbt -Dsbt.scala.version=2.12.18-M2 -Dscala.build.compileWithDotty=true library/compile
117117

118118
- name: build benchmarks
119119
if: type = pull_request OR repo != scala/scala
@@ -122,7 +122,7 @@ jobs:
122122
script:
123123
- set -e
124124
- STARR=$(sed -n 's/^maven\.version\.number=//p' buildcharacter.properties) && echo $STARR
125-
- sbt bench/Jmh/compile
125+
- sbt -Dsbt.scala.version=2.12.18-M2 bench/Jmh/compile
126126

127127
- stage: build
128128
if: type = pull_request OR type = push

scripts/common

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ fi
1313
SBT_VERSION=`grep sbt.version $WORKSPACE/project/build.properties | sed -n 's/sbt.version=\(.*\)/\1/p'`
1414

1515
SBT_CMD=${SBT_CMD-sbt}
16-
SBT_CMD="$SBT_CMD -sbt-version $SBT_VERSION"
16+
SBT_CMD="$SBT_CMD -Dsbt.scala.version=2.12.18-M2 -sbt-version $SBT_VERSION"
1717

1818
# repo to publish builds
1919
integrationRepoUrl=${integrationRepoUrl-"https://scala-ci.typesafe.com/artifactory/scala-integration/"}

versions.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Scala version used for bootstrapping (see README.md)
2-
starr.version=2.13.11-M1
2+
starr.version=2.13.11-M2
33

44
# These are the versions of the modules that go with this release.
55
# Artifact dependencies:

0 commit comments

Comments
 (0)