Skip to content

Commit c31d202

Browse files
committed
Run test_sbt and test_java8
1 parent 8aa35f1 commit c31d202

File tree

1 file changed

+32
-17
lines changed

1 file changed

+32
-17
lines changed

.github/workflows/ci.yaml

Lines changed: 32 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ jobs:
2626
- ${{ github.workspace }}/../../cache/sbt:/root/.sbt
2727
- ${{ github.workspace }}/../../cache/ivy:/root/.ivy2/cache
2828
- ${{ github.workspace }}/../../cache/general:/root/.cache
29-
if: "!(github.event_name == 'push' &&
30-
startsWith(github.event.ref, 'refs/tags/sbt-dotty-'))"
31-
29+
# if: "!(github.event_name == 'push' &&
30+
# startsWith(github.event.ref, 'refs/tags/sbt-dotty-'))"
31+
if: false
3232
steps:
3333
- name: Set JDK 14 as default
3434
run: echo "/usr/lib/jvm/java-14-openjdk-amd64/bin" >> $GITHUB_PATH
@@ -64,9 +64,9 @@ jobs:
6464
- ${{ github.workspace }}/../../cache/sbt:/root/.sbt
6565
- ${{ github.workspace }}/../../cache/ivy:/root/.ivy2/cache
6666
- ${{ github.workspace }}/../../cache/general:/root/.cache
67-
if: "!(github.event_name == 'push' &&
68-
startsWith(github.event.ref, 'refs/tags/sbt-dotty-'))"
69-
67+
# if: "!(github.event_name == 'push' &&
68+
# startsWith(github.event.ref, 'refs/tags/sbt-dotty-'))"
69+
if: false
7070
steps:
7171
- name: Set JDK 14 as default
7272
run: echo "/usr/lib/jvm/java-14-openjdk-amd64/bin" >> $GITHUB_PATH
@@ -129,6 +129,7 @@ jobs:
129129
community_build:
130130
runs-on: [self-hosted, Linux]
131131
container: lampepfl/dotty:2020-09-08
132+
if: false
132133

133134
steps:
134135
- name: Test
@@ -142,6 +143,7 @@ jobs:
142143
- ${{ github.workspace }}/../../cache/sbt:/root/.sbt
143144
- ${{ github.workspace }}/../../cache/ivy:/root/.ivy2/cache
144145
- ${{ github.workspace }}/../../cache/general:/root/.cache
146+
if: false
145147

146148
steps:
147149
- name: Checkout cleanup script
@@ -179,6 +181,7 @@ jobs:
179181
- ${{ github.workspace }}/../../cache/sbt:/root/.sbt
180182
- ${{ github.workspace }}/../../cache/ivy:/root/.ivy2/cache
181183
- ${{ github.workspace }}/../../cache/general:/root/.cache
184+
if: false
182185

183186
steps:
184187
- name: Checkout cleanup script
@@ -216,11 +219,11 @@ jobs:
216219
- ${{ github.workspace }}/../../cache/sbt:/root/.sbt
217220
- ${{ github.workspace }}/../../cache/ivy:/root/.ivy2/cache
218221
- ${{ github.workspace }}/../../cache/general:/root/.cache
219-
if: (
220-
github.event_name == 'push' &&
221-
startsWith(github.event.ref, 'refs/tags/')
222-
) ||
223-
github.event_name == 'schedule'
222+
# if: (
223+
# github.event_name == 'push' &&
224+
# startsWith(github.event.ref, 'refs/tags/')
225+
# ) ||
226+
# github.event_name == 'schedule'
224227

225228
steps:
226229
- name: Checkout cleanup script
@@ -232,12 +235,18 @@ jobs:
232235
- name: Git Checkout
233236
uses: actions/checkout@v2
234237

238+
- name: Inspect persistent cache disk usage
239+
run: du -hd1 /root
240+
235241
- name: Add SBT proxy repositories
236242
run: cp -vf .github/workflows/repositories /root/.sbt/ ; true
237243

238244
- name: Test
239245
run: ./project/scripts/sbt sbt-dotty/scripted
240246

247+
- name: Inspect persistent cache disk usage
248+
run: du -hd2 /root
249+
241250
test_java8:
242251
runs-on: [self-hosted, Linux]
243252
container:
@@ -247,12 +256,12 @@ jobs:
247256
- ${{ github.workspace }}/../../cache/ivy:/root/.ivy2/cache
248257
- ${{ github.workspace }}/../../cache/general:/root/.cache
249258

250-
if: "(
251-
github.event_name == 'push' &&
252-
startsWith(github.event.ref, 'refs/tags/') &&
253-
!startsWith(github.event.ref, 'refs/tags/sbt-dotty-')
254-
) ||
255-
github.event_name == 'schedule'"
259+
# if: "(
260+
# github.event_name == 'push' &&
261+
# startsWith(github.event.ref, 'refs/tags/') &&
262+
# !startsWith(github.event.ref, 'refs/tags/sbt-dotty-')
263+
# ) ||
264+
# github.event_name == 'schedule'"
256265

257266
steps:
258267
- name: Set JDK 8 as default
@@ -267,12 +276,18 @@ jobs:
267276
- name: Git Checkout
268277
uses: actions/checkout@v2
269278

279+
- name: Inspect persistent cache disk usage
280+
run: du -hd1 /root
281+
270282
- name: Add SBT proxy repositories
271283
run: cp -vf .github/workflows/repositories /root/.sbt/ ; true
272284

273285
- name: Test
274286
run: ./project/scripts/sbt ";compile ;test"
275287

288+
- name: Inspect persistent cache disk usage
289+
run: du -hd2 /root
290+
276291
publish_nightly:
277292
runs-on: [self-hosted, Linux]
278293
container:

0 commit comments

Comments
 (0)