-
Notifications
You must be signed in to change notification settings - Fork 22
26 lines (21 loc) · 1.1 KB
/
Copy pathmain.yml
File metadata and controls
26 lines (21 loc) · 1.1 KB
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
name: CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Get CommunityModules
run: wget https://github.com/tlaplus/CommunityModules/releases/latest/download/CommunityModules.jar
- name: Extract CommunityModules for TLAPS
run: unzip CommunityModules.jar -d CommunityModules/
- name: Get TLAPS
run: wget https://github.com/tlaplus/tlapm/releases/download/1.6.0-pre/tlapm-1.6.0-pre-x86_64-linux-gnu.tar.gz
- name: Install TLAPS
run: tar -xzf tlapm-1.6.0-pre-x86_64-linux-gnu.tar.gz
- name: Run TLAPS
run: tlapm/bin/tlapm --cleanfp -I CommunityModules/ BlockingQueue.tla BlockingQueueSplit.tla BlockingQueueFair.tla BlockingQueuePoisonApple_proofs.tla
- name: Get (nightly) TLC
run: wget https://nightly.tlapl.us/dist/tla2tools.jar
- name: Run TLC
run: java -Dtlc2.TLC.stopAfter=1800 -Dtlc2.TLC.ide=Github -Dutil.ExecutionStatisticsCollector.id=1efd5c60f238424fa70d124d0c77bbf1 -cp tla2tools.jar tlc2.TLC -workers auto -lncheck final -checkpoint 60 -coverage 60 -tool -deadlock BlockingQueueFair