-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update sbt and add windows back to CI
- Loading branch information
1 parent
0bf2ef0
commit a8071e7
Showing
9 changed files
with
40 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,11 +22,23 @@ jobs: | |
name: Build and Test | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest, macos-latest] | ||
os: [ubuntu-latest, macos-latest, windows-latest] | ||
scala: [2.12.18] | ||
java: [temurin@8, graal_22.3.0@17] | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- name: Ignore line ending differences in git | ||
if: contains(runner.os, 'windows') | ||
shell: bash | ||
run: git config --global core.autocrlf false | ||
|
||
- name: Configure pagefile for Windows | ||
if: contains(runner.os, 'windows') | ||
uses: al-cheb/[email protected] | ||
with: | ||
minimum-size: 2GB | ||
maximum-size: 8GB | ||
|
||
- name: Checkout current branch (full) | ||
uses: actions/checkout@v4 | ||
with: | ||
|
@@ -51,11 +63,14 @@ jobs: | |
cache: sbt | ||
|
||
- name: Check that workflows are up to date | ||
shell: bash | ||
run: sbt '++ ${{ matrix.scala }}' githubWorkflowCheck | ||
|
||
- run: sbt '++ ${{ matrix.scala }}' test scripted | ||
- shell: bash | ||
run: sbt '++ ${{ matrix.scala }}' test scripted | ||
|
||
- name: Compress target directories | ||
shell: bash | ||
run: tar cf targets.tar target project/target | ||
|
||
- name: Upload target directories | ||
|
@@ -75,6 +90,17 @@ jobs: | |
java: [temurin@8] | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- name: Ignore line ending differences in git | ||
if: contains(runner.os, 'windows') | ||
run: git config --global core.autocrlf false | ||
|
||
- name: Configure pagefile for Windows | ||
if: contains(runner.os, 'windows') | ||
uses: al-cheb/[email protected] | ||
with: | ||
minimum-size: 2GB | ||
maximum-size: 8GB | ||
|
||
- name: Checkout current branch (full) | ||
uses: actions/checkout@v4 | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
sbt.version=1.9.3 | ||
sbt.version=1.9.5 |
1 change: 1 addition & 0 deletions
1
src/sbt-test/sbtghactions/check-and-regenerate/project/build.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
sbt.version=1.9.5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
sbt.version=1.9.5 |
1 change: 1 addition & 0 deletions
1
src/sbt-test/sbtghactions/non-existent-target/project/build.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
sbt.version=1.9.5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
src/sbt-test/sbtghactions/sbt-native-thin-client/project/build.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
sbt.version=1.9.5 |
1 change: 1 addition & 0 deletions
1
src/sbt-test/sbtghactions/suppressed-scala-version/project/build.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
sbt.version=1.9.5 |