Skip to content

Commit

Permalink
Merge pull request #39 from elsoroka/dev
Browse files Browse the repository at this point in the history
Fix the Docs build issue
  • Loading branch information
elsoroka authored Mar 12, 2024
2 parents 456eeb0 + 4cda91b commit a9868c7
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 6 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:

- name: Set up Julia latest version
uses: julia-actions/setup-julia@latest
- uses: julia-actions/cache@v1

- name: Run tests
uses: julia-actions/julia-buildpkg@v1
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,9 @@ jobs:
steps:
- name: Setup z3
run: sudo apt-get -y install z3
- name: Setup cvc5
run: curl -o /usr/local/bin/cvc5 -L https://github.com/cvc5/cvc5/releases/latest/download/cvc5-Linux && chmod +x /usr/local/bin/cvc5
- uses: actions/checkout@v4
- uses: julia-actions/cache@v1
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-docdeploy@v1
env:
GITHUB_TOKEN: ${{ secrets.DOCS_GITHUB_TOKEN }}
JULIA_DEBUG: "Documenter"
1 change: 0 additions & 1 deletion docs/make.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# CALL THIS FILE FROM ../ (call `julia docs/make.jl`)
using Documenter
push!(LOAD_PATH, "$(pwd())/src/")
ENV["JULIA_DEBUG"] = Documenter

using Satisfiability

Expand Down
2 changes: 1 addition & 1 deletion docs/src/example_bad_assertions.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ using Satisfiability
@satvariable(z, Bool)
necessary_exprs = or(and(not(x), y, z), and(not(y), x, z))

interactive_solver = open(CVC5())
interactive_solver = open(Z3())
```
We assert this at the first level, since we always have to have it.
```julia
Expand Down
2 changes: 1 addition & 1 deletion docs/src/example_bv_lcg.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ expr = and(and(transitions), and(remainders))
```
Solve the problem and inspect the solution.
```@example 1
status = sat!(expr, solver=CVC5())
status = sat!(expr, solver=Z3())
println("status = $status")
for (i,state) in enumerate(states)
Expand Down

0 comments on commit a9868c7

Please sign in to comment.