-
Notifications
You must be signed in to change notification settings - Fork 112
41 lines (41 loc) · 950 Bytes
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: CI
on:
pull_request:
push:
branches: [ "series/6.2.x" ]
schedule:
- cron: '0 13 * * 4'
jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 50
strategy:
matrix:
include:
- java: 8
- java: 8
name: scala-native
- java: 11
steps:
- uses: actions/[email protected]
- uses: olafurpg/setup-scala@v10
with:
java-version: "adopt@1.${{ matrix.java }}"
- uses: coursier/cache-action@v5
- run: |
case "${{ matrix.name }}" in
"scala-native")
sbt -v \
"+nativeParent/mimaReportBinaryIssues" \
"+nativeParent/test" \
"+nativeTest/run"
;;
*)
sbt -v \
"+mimaReportBinaryIssues" \
"+test:compile" \
"+jvmParent/test" \
"project jsParent" \
testSequentialCross
;;
esac