-
Notifications
You must be signed in to change notification settings - Fork 201
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Kamil Podsiadlo
committed
Apr 5, 2022
1 parent
ebf0cf4
commit 3f59b08
Showing
1 changed file
with
51 additions
and
19 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 |
---|---|---|
|
@@ -9,7 +9,7 @@ on: | |
pull_request: | ||
|
||
jobs: | ||
scalafmt: | ||
scalafmt: | ||
name: Formatting | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
@@ -19,7 +19,7 @@ jobs: | |
java-version: [email protected] | ||
- name: Check formatting | ||
run: ./bin/scalafmt --test | ||
integrations: | ||
integrations: | ||
name: Build integrations tests | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
|
@@ -51,6 +51,53 @@ jobs: | |
"sbtBloop10Shaded/publishLocal" \ | ||
"sbtBloop10/scripted" | ||
shell: bash | ||
bridges: | ||
name: Test platform bridges | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu-latest, windows-latest, macOS-latest] | ||
jdk: [[email protected]] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
submodules: true | ||
- uses: olafurpg/setup-scala@v13 | ||
with: | ||
java-version: ${{ matrix.jdk }} | ||
- name: Tests | ||
run: | | ||
./bin/sbt-ci.sh \ | ||
"exportProjectsInTestResources" \ | ||
"jsBridge06/publishLocal" \ | ||
"jsBridge1/publishLocal" \ | ||
"jsBridge06/test" \ | ||
"jsBridge1/test" \ | ||
shell: bash | ||
|
||
launcher: | ||
name: Launcher tests | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu-latest, windows-latest, macOS-latest] | ||
jdk: [[email protected]] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
submodules: true | ||
- uses: olafurpg/setup-scala@v13 | ||
with: | ||
java-version: ${{ matrix.jdk }} | ||
- name: Tests | ||
run: | | ||
echo $JAVA_HOME | ||
which gu && gu install native-image | ||
./bin/sbt-ci.sh "install" "launcherTest/test" | ||
shell: bash | ||
|
||
test: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
|
@@ -92,31 +139,17 @@ jobs: | |
run: | | ||
./bin/sbt-ci.sh \ | ||
"frontend/test:compile" \ | ||
"sbtBloop013/compile" \ | ||
"sbtBloop10/compile" \ | ||
"mavenBloop/compile" \ | ||
"backend/test" \ | ||
"docs/compile" \ | ||
"jsBridge06/publishLocal" \ | ||
"jsBridge1/publishLocal" \ | ||
"frontend/testOnly bloop.ScalaVersionsSpec" \ | ||
"frontend/testOnly -bloop.ScalaVersionsSpec" \ | ||
"jsBridge06/test" \ | ||
"jsBridge1/test" \ | ||
"frontend/runMain bloop.util.CommandsDocGenerator --test" \ | ||
"frontend/runMain bloop.util.CommandsDocGenerator --out ../docs/cli/reference.md" | ||
shell: bash | ||
- name: Check docs are up-to-date | ||
run: | | ||
./bin/check-good-practices.sh | ||
shell: bash | ||
- name: Run launcher tests | ||
if: matrix.jdk == '[email protected]' | ||
run: | | ||
echo $JAVA_HOME | ||
which gu && gu install native-image | ||
./bin/sbt-ci.sh "install" "launcherTest/test" | ||
shell: bash | ||
|
||
publish-binaries: | ||
name: Publish binaries for ${{ matrix.os }} | ||
|
@@ -183,8 +216,8 @@ jobs: | |
uses: al-cheb/[email protected] | ||
- name: Refresh Pagefile | ||
run: | | ||
(Get-CimInstance Win32_PageFileUsage).AllocatedBaseSize | ||
- uses: actions/checkout@v3 | ||
(Get-CimInstance Win32_PageFileUsage).AllocatedBaseSize | ||
- uses: actions/checkout@v2.4.0 | ||
with: | ||
submodules: true | ||
fetch-depth: 0 | ||
|
@@ -220,7 +253,6 @@ jobs: | |
with: | ||
name: bloop-artifacts | ||
path: bloop-artifacts/${{ matrix.artifact }} | ||
|
||
|
||
release: | ||
name: Release version on ${{ matrix.os }} | ||
|