adding citation file #21
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: TLA+ Tools | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install TLA+ Tools | |
run: | | |
git clone https://github.com/pmer/tla-bin.git | |
cd tla-bin | |
./download_or_update_tla.sh | |
sudo ./install.sh | |
- name: Sany (All) | |
run: sany MCFPaxosTwoAcc.tla MCFPaxosThreeAcc.tla MCFPaxosFourAcc.tla | |
- name: TLC - 2 Acceptors | |
run: tlc -config MCFPaxos.cfg -workers auto MCFPaxosTwoAcc.tla | |
- name: TLC - 3 Acceptors | |
run: tlc -config MCFPaxos.cfg -workers auto MCFPaxosThreeAcc.tla | |
- name: TLC - 4 Acceptors | |
run: tlc -config MCFPaxos.cfg -workers auto MCFPaxosFourAcc.tla | |
- name: Install LaTeX | |
run: sudo apt install texlive-latex-recommended | |
- name: TLA+ pretty printer | |
run: | | |
tlatex FPaxos.tla | |
pdflatex FPaxos.tex | |
- name: Upload PDF file | |
uses: actions/upload-artifact@v3 | |
with: | |
name: Pretty Printed TLA+ Specification | |
path: FPaxos.pdf |