|
9 | 9 | pull_request:
|
10 | 10 |
|
11 | 11 | jobs:
|
12 |
| - scalafmt: |
| 12 | + scalafmt: |
13 | 13 | name: Formatting
|
14 | 14 | runs-on: ubuntu-latest
|
15 | 15 | steps:
|
|
19 | 19 |
|
20 | 20 | - name: Check formatting
|
21 | 21 | run: ./bin/scalafmt --test
|
22 |
| - integrations: |
| 22 | + integrations: |
23 | 23 | name: Build integrations tests
|
24 | 24 | runs-on: ${{ matrix.os }}
|
25 | 25 | strategy:
|
|
51 | 51 | "sbtBloop10Shaded/publishLocal" \
|
52 | 52 | "sbtBloop10/scripted"
|
53 | 53 | shell: bash
|
| 54 | + bridges: |
| 55 | + name: Test platform bridges |
| 56 | + runs-on: ${{ matrix.os }} |
| 57 | + strategy: |
| 58 | + fail-fast: false |
| 59 | + matrix: |
| 60 | + os: [ubuntu-latest, windows-latest, macOS-latest] |
| 61 | + |
| 62 | + steps: |
| 63 | + - uses: actions/checkout@v2 |
| 64 | + with: |
| 65 | + submodules: true |
| 66 | + - uses: olafurpg/setup-scala@v13 |
| 67 | + with: |
| 68 | + java-version: ${{ matrix.jdk }} |
| 69 | + - name: Tests |
| 70 | + run: | |
| 71 | + ./bin/sbt-ci.sh \ |
| 72 | + "jsBridge06/publishLocal" \ |
| 73 | + "jsBridge1/publishLocal" \ |
| 74 | + "jsBridge06/test" \ |
| 75 | + "jsBridge1/test" \ |
| 76 | + shell: bash |
| 77 | + |
| 78 | + launcher: |
| 79 | + name: Launcher tests |
| 80 | + runs-on: ${{ matrix.os }} |
| 81 | + strategy: |
| 82 | + fail-fast: false |
| 83 | + matrix: |
| 84 | + os: [ubuntu-latest, windows-latest, macOS-latest] |
| 85 | + |
| 86 | + steps: |
| 87 | + - uses: actions/checkout@v2 |
| 88 | + with: |
| 89 | + submodules: true |
| 90 | + - uses: olafurpg/setup-scala@v13 |
| 91 | + with: |
| 92 | + java-version: ${{ matrix.jdk }} |
| 93 | + - name: Tests |
| 94 | + run: | |
| 95 | + echo $JAVA_HOME |
| 96 | + which gu && gu install native-image |
| 97 | + ./bin/sbt-ci.sh "install" "launcherTest/test" |
| 98 | + shell: bash |
| 99 | + |
54 | 100 | test:
|
55 | 101 | runs-on: ${{ matrix.os }}
|
56 | 102 | strategy:
|
@@ -92,31 +138,17 @@ jobs:
|
92 | 138 | run: |
|
93 | 139 | ./bin/sbt-ci.sh \
|
94 | 140 | "frontend/test:compile" \
|
95 |
| - "sbtBloop013/compile" \ |
96 |
| - "sbtBloop10/compile" \ |
97 |
| - "mavenBloop/compile" \ |
98 | 141 | "backend/test" \
|
99 | 142 | "docs/compile" \
|
100 |
| - "jsBridge06/publishLocal" \ |
101 |
| - "jsBridge1/publishLocal" \ |
102 | 143 | "frontend/testOnly bloop.ScalaVersionsSpec" \
|
103 | 144 | "frontend/testOnly -bloop.ScalaVersionsSpec" \
|
104 |
| - "jsBridge06/test" \ |
105 |
| - "jsBridge1/test" \ |
106 | 145 | "frontend/runMain bloop.util.CommandsDocGenerator --test" \
|
107 | 146 | "frontend/runMain bloop.util.CommandsDocGenerator --out ../docs/cli/reference.md"
|
108 | 147 | shell: bash
|
109 | 148 | - name: Check docs are up-to-date
|
110 | 149 | run: |
|
111 | 150 | ./bin/check-good-practices.sh
|
112 | 151 | shell: bash
|
113 |
| - - name: Run launcher tests |
114 |
| - if: matrix.jdk == '[email protected]' |
115 |
| - run: | |
116 |
| - echo $JAVA_HOME |
117 |
| - which gu && gu install native-image |
118 |
| - ./bin/sbt-ci.sh "install" "launcherTest/test" |
119 |
| - shell: bash |
120 | 152 |
|
121 | 153 | publish-binaries:
|
122 | 154 | name: Publish binaries for ${{ matrix.os }}
|
@@ -183,7 +215,7 @@ jobs:
|
183 | 215 |
|
184 | 216 | - name: Refresh Pagefile
|
185 | 217 | run: |
|
186 |
| - (Get-CimInstance Win32_PageFileUsage).AllocatedBaseSize |
| 218 | + (Get-CimInstance Win32_PageFileUsage).AllocatedBaseSize |
187 | 219 | - uses: actions/checkout@v3
|
188 | 220 | with:
|
189 | 221 | submodules: true
|
@@ -220,7 +252,6 @@ jobs:
|
220 | 252 | with:
|
221 | 253 | name: bloop-artifacts
|
222 | 254 | path: bloop-artifacts/${{ matrix.artifact }}
|
223 |
| - |
224 | 255 |
|
225 | 256 | release:
|
226 | 257 | name: Release version on ${{ matrix.os }}
|
|
0 commit comments