File tree Expand file tree Collapse file tree 2 files changed +62
-13
lines changed
Expand file tree Collapse file tree 2 files changed +62
-13
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ pull_request :
5+ paths :
6+ - ' **.scala'
7+ - ' **.java'
8+ - ' **.sbt'
9+ - ' .github/workflows/**.yml'
10+ push :
11+ branches :
12+ - master
13+ paths :
14+ - ' **.scala'
15+ - ' **.java'
16+ - ' **.sbt'
17+ - ' .github/workflows/**.yml'
18+
19+ jobs :
20+ code_format :
21+ name : Code Format
22+ runs-on : ubuntu-latest
23+ steps :
24+ - uses : actions/checkout@v2
25+ - name : jcheckstyle
26+ run : ./sbt jcheckStyle
27+ test_jdk11 :
28+ name : Test JDK11
29+ runs-on : ubuntu-latest
30+ steps :
31+ - uses : actions/checkout@v2
32+ - uses : olafurpg/setup-scala@v7
33+ with :
34+ java-version : adopt@1.11
35+ - uses : actions/cache@v2
36+ with :
37+ path : ~/.cache
38+ key : ${{ runner.os }}-jdk11-${{ hashFiles('**/*.sbt') }}
39+ restore-keys : ${{ runner.os }}-jdk11-
40+ - name : Test
41+ run : ./sbt test
42+ - name : Universal Buffer Test
43+ run : ./sbt test -J-Dmsgpack.universal-buffer=true
44+ test_jdk8 :
45+ name : Test JDK8
46+ runs-on : ubuntu-latest
47+ steps :
48+ - uses : actions/checkout@v2
49+ - uses : olafurpg/setup-scala@v7
50+ with :
51+ java-version : adopt@1.8
52+ - uses : actions/cache@v2
53+ with :
54+ path : ~/.cache
55+ key : ${{ runner.os }}-jdk8-${{ hashFiles('**/*.sbt') }}
56+ restore-keys : ${{ runner.os }}-jdk8-
57+ - name : Test
58+ run : ./sbt test
59+ - name : Universal Buffer Test
60+ run : ./sbt test -J-Dmsgpack.universal-buffer=true
Original file line number Diff line number Diff line change 11language : scala
22
3- # With xenial, `Installing oraclejdk8` fails due to "Expected feature release number in range of 9 to 14, but got: 8"
4- dist : trusty
3+ arch : arm64
4+ os : linux
55
66cache :
77 directories :
@@ -10,23 +10,12 @@ cache:
1010 - $HOME/.sbt/boot/
1111 - $HOME/.coursier
1212
13- sudo : false
14-
1513branches :
1614 only :
1715 - develop
1816
1917matrix :
2018 include :
21- - env : PROJECT=checkstyle
22- jdk : oraclejdk8
23- script :
24- - ./sbt jcheckStyle
25- - env : PROJECT=java8
26- jdk : oraclejdk8
27- script :
28- - ./sbt test
29- - ./sbt test -J-Dmsgpack.universal-buffer=true
3019 - env : PROJECT=java11
3120 jdk : openjdk11
3221 script :
You can’t perform that action at this time.
0 commit comments