Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix CI #110

Merged
merged 5 commits into from
Sep 6, 2024
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
3 changes: 2 additions & 1 deletion .github/workflows/bolts-CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
with:
distribution: temurin
java-version: 17
cache: sbt
- name: Install stainless and solvers
run: ./install_stainless_and_solvers.sh $GITHUB_WORKSPACE/.local/bin $GITHUB_WORKSPACE/.local
- name: Add stainless to PATH
Expand All @@ -33,7 +34,7 @@ jobs:
- name: Test solvers availability
run: cvc5 --version && z3 --version && cvc4 --version
- name: Bolts Tests
run: ./run_tests.sh
run: ./run-tests.sh
fail_if_pull_request_is_draft:
if: github.event.pull_request.draft == true
runs-on: [self-hosted, linux]
Expand Down
14 changes: 8 additions & 6 deletions install_stainless_and_solvers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,6 @@ mkdir -p "$SOLVERS_DIR"
mkdir -p "$TEMP_DIR"
mkdir -p "$STAINLESS_DIR"

# stainless
cd "$STAINLESS_DIR"
git clone --recurse-submodules https://github.com/epfl-lara/stainless
cd stainless
sbt universal:stage

# cvc5
wget https://github.com/cvc5/cvc5/releases/download/cvc5-1.1.2/cvc5-Linux-static.zip -O "$TEMP_DIR/downloaded.zip" -q
unzip "$TEMP_DIR/downloaded.zip" -d "$TEMP_DIR"
Expand All @@ -34,4 +28,12 @@ chmod +x "$SOLVERS_DIR/z3"
rm -rf "$TEMP_DIR"

echo "************** Solvers Installed **************"

# stainless
cd "$STAINLESS_DIR"
git clone --recurse-submodules https://github.com/epfl-lara/stainless
cd stainless
sbt universal:stage

echo "************** Stainless Installed **************"
exit 0
Loading