#!/bin/bash #SBATCH --job-name=lake-build #SBATCH --partition=lean #SBATCH --time=00:30:00 #SBATCH --cpus-per-task=2 #SBATCH --mem=8G # lake build (upstream's ci.yml) and the sorry gate, on the pushed commit ($SS_INPUT), in the project's Lean image # (docker/) with no network. P vs NP is open: checks/build.json names no theorem and no Comparator configuration, so the # check says only that the library builds without sorry. The approved checks/build.py and checks/build.json say what is # run; the image holds the toolchain, Mathlib and a build of the approved main, so only what the commit changed is # rebuilt. Logs go beside the job's output. set -euo pipefail BUILD_LOGS="$PWD/logs" python3 -I checks/build.py "$SS_INPUT" checks/build.json