-
Notifications
You must be signed in to change notification settings - Fork 26
45 lines (33 loc) · 917 Bytes
/
scala.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
name: Build and Execute Tests
on:
push:
branches:
- master
pull_request:
branches:
- master
- develop
merge_group:
jobs:
build:
runs-on: self-hosted
steps:
- uses: actions/checkout@v1
- name: Build Opal
run: sbt -J-Xmx20G cleanBuild
- name: Check formatting
run: git diff --exit-code
- name: Run tests
run: sbt -J-Xmx20G test
- name: Run LLVM tests
run: sbt -J-Xmx20G "project LLVM;test;project ValidateCross;test"
it-test:
runs-on: self-hosted
needs: build
if: github.event_name == 'push' || github.event_name == 'merge_group'
steps:
- uses: actions/checkout@v1
- name: Run Integration Tests
run: sbt -J-Xmx40G cleanBuild it:test
- name: Run LLVM Integration Tests
run: sbt -J-Xmx40G "project LLVM;it:test;project ValidateCross;it:test"