-
Notifications
You must be signed in to change notification settings - Fork 19
49 lines (47 loc) · 1.13 KB
/
compile.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
42
43
44
45
46
47
48
49
name: Build project
on:
pull_request:
push:
jobs:
compile-sjs1:
name: Build project for Scala.js 1.0.0+
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Cache SBT
uses: actions/cache@v2
with:
path: |
~/.sbt/boot
~/.cache/coursier
**/target
!target/sonatype-staging
key: bootstrap-sbt-sjs1
- name: Build project
run: |
sbt +compile
compile-sjs06:
name: Build project for Scala.js 0.6.xx
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Cache SBT
uses: actions/cache@v2
with:
path: |
~/.sbt/boot
~/.cache/coursier
**/target
!target/sonatype-staging
key: bootstrap-sbt-sjs06
- name: Build project
run: |
sbt -J-DSCALAJS_VERSION=0.6.33 +compile