Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,6 @@ jobs:
with:
path: |
.lake
- name: Verify Java testdata is up to date
run: |
StrataTestExtra/Languages/Java/regenerate-testdata.sh
git diff --exit-code StrataTestExtra/Languages/Java/testdata/

lint_checks:
name: Run lint checks
Expand Down Expand Up @@ -134,8 +130,14 @@ jobs:
- name: Check for broken links
uses: lycheeverse/lychee-action@v2
with:
args: --offline --no-progress --exclude-path '.*/find/.*' docs/verso/_out/
args: --offline --no-progress --exclude-path '.*/find/.*' --exclude-path '.*/html-multi/.*' docs/verso/_out/
fail: true
- name: Check for broken links (html-multi)
run: |
for dir in docs/verso/_out/*/html-multi; do
lychee --offline --no-progress --exclude-path '.*/find/.*' --exclude-path '.*\.css$' \
--base-url "file://$PWD/$dir/" "$dir/" || exit 1
done

cbmc:
needs: build_and_test_lean
Expand Down
2 changes: 1 addition & 1 deletion lake-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"type": "git",
"subDir": null,
"scope": "",
"rev": "4ea13cd3ef6e6e0bc70629ef818155c808c47320",
"rev": "c6393bb5c20e687b37a691367c035daf17361573",
"name": "StrataDDM",
"manifestFile": "lake-manifest.json",
"inputRev": "main",
Expand Down
13 changes: 9 additions & 4 deletions lakefile.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name = "Strata"
version = "0.1.0"
defaultTargets = ["Strata", "StrataToCBMC", "StrataCoreToGoto"]
defaultTargets = ["Strata", "StrataToCBMC", "StrataCoreToGoto", "laurelJavaGen"]
testDriver = "StrataTestMain"
lintDriver = "CheckImports"

Expand All @@ -19,6 +19,7 @@ rev = "bump_to_v4.29.0-rc8"

[[lean_lib]]
name = "Strata"
moreLeancArgs = ["-fbracket-depth=512"]

[[lean_lib]]
name = "StrataExamples"
Expand All @@ -34,9 +35,9 @@ root = "Scripts.StrataTestMain"
# `Strata` is listed explicitly because the driver spawns `lean` on files
# under `StrataTestExtra/` (which is not a `lean_lib`). Those files import
# modules from the `Strata` library that are not in `StrataTest`'s transitive
# closure (e.g., `Strata.DDM.Integration.Java`), so without this the oleans
# would be missing when running `lake test` from a clean `.lake`.
needs = ["Strata", "StrataTest"]
# closure (e.g., `Strata.Java.Gen`), so without this the oleans would be
# missing when running `lake test` from a clean `.lake`.
needs = ["Strata", "StrataTest", "laurelJavaGen"]

[[lean_exe]]
name = "StrataToCBMC"
Expand All @@ -55,3 +56,7 @@ root = "Scripts.ImportStats"
[[lean_exe]]
name = "GenerateEmbedded"
root = "Scripts.GenerateEmbedded"

[[lean_exe]]
name = "laurelJavaGen"
root = "Scripts.LaurelJavaGen"
Loading