Theorems for sum of constant function #31
Workflow file for this run
This file contains hidden or 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: PR | |
| on: | |
| [pull_request] | |
| jobs: | |
| build: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, macos-latest, windows-latest] | |
| defaults: | |
| run: | |
| shell: bash | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Get current date | |
| id: date | |
| run: echo "date=$(date +'%Y%m%d%H%M')" >> "$GITHUB_OUTPUT" | |
| - name: Build with Ant | |
| run: ant -noinput -buildfile build.xml -Dtimestamp=${{steps.date.outputs.date}} | |
| tlaps: | |
| name: Verify TLAPS proofs | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - os: ubuntu-latest | |
| asset: tlapm-1.6.0-pre-x86_64-linux-gnu.tar.gz | |
| - os: macos-latest | |
| asset: tlapm-1.6.0-pre-arm64-darwin.tar.gz | |
| defaults: | |
| run: | |
| shell: bash | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Download TLAPS 1.6.0-pre | |
| run: | | |
| curl -fsSL -o tlapm.tar.gz \ | |
| "https://github.com/tlaplus/tlapm/releases/download/1.6.0-pre/${{ matrix.asset }}" | |
| tar -xzf tlapm.tar.gz | |
| echo "$PWD/tlapm/bin" >> "$GITHUB_PATH" | |
| - name: Show tlapm version | |
| run: tlapm --version | |
| - name: Show tlapm configuration | |
| run: tlapm --config | |
| - name: Verify _proofs.tla modules | |
| working-directory: modules | |
| run: | | |
| status=0 | |
| for proof in *_proofs.tla; do | |
| echo "::group::Verifying $proof" | |
| tlapm --cleanfp "$proof" || status=1 | |
| echo "::endgroup::" | |
| done | |
| exit $status |