-
Notifications
You must be signed in to change notification settings - Fork 5
58 lines (51 loc) · 1.66 KB
/
main.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
50
51
52
53
54
55
56
57
58
name: CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
strategy:
max-parallel: 1
matrix:
jdk: [ 11, 8, 17 ]
runs-on: ubuntu-latest
steps:
- name: Cancel Previous Runs
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}
- name: Pull Request Checkout
uses: actions/checkout@v2
with:
ref: ${{github.event.pull_request.head.ref}}
repository: ${{github.event.pull_request.head.repo.full_name}}
if: github.head_ref != ''
- name: Push Checkout
uses: actions/checkout@v2
if: github.head_ref == ''
- name: Set up JDK
uses: actions/setup-java@v2
with:
java-version: ${{matrix.jdk}}
distribution: 'temurin'
- name: Build
id: build
run: ./.ci-build-without-test.sh
- name: PICO Typecheck Test
if: ${{ steps.build.outcome == 'success' }}
run: ./gradlew ImmutabilityTypecheckTest
- name: PICO Typecheck AllSystems Test
if: ${{ steps.build.outcome == 'success' }}
run: ./gradlew ImmutabilityTypecheckBaseAllSystemsTest
- name: PICO Typecheck Extended Test
if: ${{ steps.build.outcome == 'success' }}
run: ./gradlew ImmutabilityTypecheckExtendedTest
# - name: PICO Inference Initial Typecheck Test
# if: ${{ steps.build.outcome == 'success' }}
# run: ./gradlew ImmutabilityInferenceInitialTypecheckTest
#
# - name: PICO Inference Test
# if: ${{ steps.build.outcome == 'success' }}
# run: ./gradlew ImmutabilityInferenceTest