Skip to content

Fix CI - #2

Open
samuelburnham wants to merge 1 commit into
devfrom
ci-fixes
Open

Fix CI#2
samuelburnham wants to merge 1 commit into
devfrom
ci-fixes

Conversation

@samuelburnham

Copy link
Copy Markdown
Member

No description provided.

… flake

Branch restructure: master is now the upstream mirror and dev the
development branch, so retarget ci.yml and nix.yml (push trigger, cachix
gate) to dev and adopt ix's concurrency block.

Drop the macOS CI job. The flake still declares darwin systems, but CI
builds only x86_64-linux; the others stay untested and never gate CI.

Replace the Perl source-token sorry audit with Lean4Lean.Audit.SorryFrontier:
it asks the compiled environment which declarations directly reference
sorryAx, attributed by source module, so it cannot drift over comments or
string literals, and diffs against an exact allowlist. It runs in ci.yml
and the flake's proofs check; check_sorry_frontier.pl is deleted.

Rework nix.yml into a real-build packaging gate on x86_64-linux, matching
ix: build the shipped outputs, run nix flake check (which builds every
check), and a devShell job. Add a tests check building Lean4Lean.Tests
(the regression modules run at elaboration).

Simplify flake.nix:
- scope leanSrc to a fileset so edits to CI/docs/flake don't invalidate
  the cached Lean derivations
- drop lake-dependency-full and the lib alias (no consumers)
- factor shared args: leanBuildInputs, reuseLibArgs, mkLakeCheck, mkCliCheck
- rename lean4leanLakeDependency to lean4leanLib
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants