File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -132,20 +132,6 @@ jobs:
132132 --community_modules_jar_path $DEPS_DIR/community/modules.jar \
133133 --examples_root . \
134134 --skip "${SKIP[@]}"
135- - name : Check proofs
136- if : matrix.os != 'windows-latest' && !matrix.unicode
137- run : |
138- set -o pipefail
139- find specifications -iname "manifest.json" -print0 \
140- | xargs --null --no-run-if-empty \
141- jq --join-output '
142- .modules
143- | map(select(has("proof")))
144- | map(select(.path != "specifications/LoopInvariance/SumSequence.tla"))
145- | map(.path + "\u0000")
146- | join("")' \
147- | xargs --verbose --null --no-run-if-empty -I {TLA_FILE} \
148- "$DEPS_DIR/tlapm/bin/tlapm" "{TLA_FILE}" -I "$DEPS_DIR/community" --stretch 5
149135 - name : Smoke-test manifest generation script
150136 run : |
151137 python $SCRIPT_DIR/generate_manifest.py \
Original file line number Diff line number Diff line change 1+ name : Check Proofs
2+ on :
3+ push :
4+ branches :
5+ - master
6+ concurrency :
7+ group : ${{ github.workflow }}
8+ cancel-in-progress : true
9+
10+ jobs :
11+ check :
12+ runs-on : ${{ matrix.os }}
13+ strategy :
14+ matrix :
15+ os : [ubuntu-latest, macos-latest]
16+ fail-fast : false
17+ env :
18+ SCRIPT_DIR : .github/scripts
19+ DEPS_DIR : deps
20+ defaults :
21+ run :
22+ shell : bash
23+ steps :
24+ - name : Clone repo
25+ uses : actions/checkout@v4
26+ - name : Install python
27+ uses : actions/setup-python@v5
28+ with :
29+ python-version : ' 3.12'
30+ - name : Install dependencies
31+ run : $SCRIPT_DIR/linux-setup.sh $SCRIPT_DIR $DEPS_DIR false
32+ - name : Check proofs
33+ run : |
34+ set -o pipefail
35+ find specifications -iname "manifest.json" -print0 \
36+ | xargs --null --no-run-if-empty \
37+ jq --join-output '
38+ .modules
39+ | map(select(has("proof")))
40+ # Failing on Linux
41+ | map(select(.path != "specifications/LoopInvariance/SumSequence.tla"))
42+ | map(.path + "\u0000")
43+ | join("")' \
44+ | xargs --verbose --null --no-run-if-empty -I {TLA_FILE} \
45+ time "$DEPS_DIR/tlapm/bin/tlapm" "{TLA_FILE}" -I "$DEPS_DIR/community" --stretch 5
46+
You can’t perform that action at this time.
0 commit comments