File tree 2 files changed +4
-23
lines changed 2 files changed +4
-23
lines changed Original file line number Diff line number Diff line change @@ -51,6 +51,9 @@ main() {
51
51
wget -nv https://github.com/tlaplus/tlapm/archive/main.tar.gz -O /tmp/tlapm.tar.gz
52
52
tar -xzf /tmp/tlapm.tar.gz --directory " $DEPS_DIR "
53
53
mv " $DEPS_DIR /tlapm-main" " $DEPS_DIR /tlapm"
54
+ # Install TLAPS
55
+ wget -nv " https://github.com/tlaplus/tlapm/releases/download/1.6.0-pre/tlapm-1.6.0-pre-x86_64-linux-gnu.tar.gz" -O /tmp/tlapm.tar.gz
56
+ tar -xzf /tmp/tlapm.tar.gz --directory " $DEPS_DIR "
54
57
# Get TLAUC
55
58
mkdir -p " $DEPS_DIR /tlauc"
56
59
kernel=$( uname -s)
@@ -64,28 +67,6 @@ main() {
64
67
fi
65
68
wget -nv " https://github.com/tlaplus-community/tlauc/releases/latest/download/tlauc-$TLAUC_OS_STR .tar.gz" -O /tmp/tlauc.tar.gz
66
69
tar -xzf /tmp/tlauc.tar.gz --directory " $DEPS_DIR /tlauc"
67
- # Install TLAPS
68
- if [ " $kernel " == " Linux" ]; then
69
- TLAPM_BIN_TYPE=x86_64-linux-gnu
70
- elif [ " $kernel " == " Darwin" ]; then
71
- TLAPM_BIN_TYPE=i386-darwin
72
- else
73
- echo " Unknown OS: $kernel "
74
- exit 1
75
- fi
76
- TLAPM_BIN=" tlaps-1.5.0-$TLAPM_BIN_TYPE -inst.bin"
77
- wget -nv " https://github.com/tlaplus/tlapm/releases/latest/download/$TLAPM_BIN " -O /tmp/tlapm-installer.bin
78
- chmod +x /tmp/tlapm-installer.bin
79
- # Workaround for https://github.com/tlaplus/tlapm/issues/88
80
- set +e
81
- for (( attempt = 1 ; attempt <= 5 ; attempt++ )) ; do
82
- rm -rf " $DEPS_DIR /tlapm-install"
83
- /tmp/tlapm-installer.bin -d " $DEPS_DIR /tlapm-install"
84
- if [ $? -eq 0 ]; then
85
- exit 0
86
- fi
87
- done
88
- exit 1
89
70
}
90
71
91
72
main " $@ "
Original file line number Diff line number Diff line change @@ -156,7 +156,7 @@ jobs:
156
156
specifications/byzpaxos/BPConProof.tla # Takes about 30 minutes
157
157
)
158
158
python $SCRIPT_DIR/check_proofs.py \
159
- --tlapm_path $DEPS_DIR/tlapm-install \
159
+ --tlapm_path $DEPS_DIR/tlapm \
160
160
--manifest_path manifest.json \
161
161
--skip "${SKIP[@]}"
162
162
- name : Smoke-test manifest generation script
You can’t perform that action at this time.
0 commit comments