-
Notifications
You must be signed in to change notification settings - Fork 2
40 lines (30 loc) · 850 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
name: CI
on:
pull_request:
push:
branches:
- master
jobs:
build-test:
strategy:
matrix:
java-version: [ 11, 17 ]
java-distribution: [ 'temurin' ]
os: [ macos-latest, ubuntu-latest ]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Setup Java ${{ matrix.java-version }}
uses: actions/setup-java@v3
with:
distribution: ${{ matrix.java-distribution }}
java-version: ${{ matrix.java-version }}
cache: 'sbt'
- name: Setup coursier cache
uses: coursier/[email protected]
- name: Test
run: ./sbt featherweightGoCoreJVM/test
- name: Run `Main.main`
run: ./sbt featherweightGoJVM/run
- name: Check to compile JS code
run: ./sbt featherweightGoJS/fastOptJS