Skip to content

Add z3 package installation to CI pull request checks #5944

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

Merged
merged 2 commits into from
Mar 17, 2021
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
14 changes: 7 additions & 7 deletions .github/workflows/pull-request-checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
DEBIAN_FRONTEND: noninteractive
run: |
sudo apt-get update
sudo apt-get install --no-install-recommends -yq gcc gdb g++ maven jq flex bison libxml2-utils ccache cmake
sudo apt-get install --no-install-recommends -yq gcc gdb g++ maven jq flex bison libxml2-utils ccache cmake z3
- name: Prepare ccache
uses: actions/cache@v2
with:
Expand Down Expand Up @@ -75,7 +75,7 @@ jobs:
DEBIAN_FRONTEND: noninteractive
run: |
sudo apt-get update
sudo apt-get install --no-install-recommends -yq clang-10 clang++-10 gdb maven jq flex bison libxml2-utils cpanminus ccache
sudo apt-get install --no-install-recommends -yq clang-10 clang++-10 gdb maven jq flex bison libxml2-utils cpanminus ccache z3
make -C src minisat2-download
cpanm Thread::Pool::Simple
- name: Prepare ccache
Expand Down Expand Up @@ -128,7 +128,7 @@ jobs:
DEBIAN_FRONTEND: noninteractive
run: |
sudo apt-get update
sudo apt-get install --no-install-recommends -yq cmake ninja-build gcc g++ maven flex bison libxml2-utils dpkg-dev ccache doxygen
sudo apt-get install --no-install-recommends -yq cmake ninja-build gcc g++ maven flex bison libxml2-utils dpkg-dev ccache doxygen z3
- name: Prepare ccache
uses: actions/cache@v2
with:
Expand Down Expand Up @@ -171,7 +171,7 @@ jobs:
with:
submodules: recursive
- name: Fetch dependencies
run: brew install maven flex bison parallel ccache
run: brew install maven flex bison parallel ccache z3
- name: Prepare ccache
uses: actions/cache@v2
with:
Expand Down Expand Up @@ -211,7 +211,7 @@ jobs:
with:
submodules: recursive
- name: Fetch dependencies
run: brew install cmake ninja maven flex bison ccache
run: brew install cmake ninja maven flex bison ccache z3
- name: Prepare ccache
uses: actions/cache@v2
with:
Expand Down Expand Up @@ -248,7 +248,7 @@ jobs:
submodules: recursive
- name: Fetch dependencies
run: |
choco install winflexbison3
choco install winflexbison3 z3
nuget install clcache -OutputDirectory "c:\tools" -ExcludeVersion -Version 4.1.0
echo "c:\tools\clcache\clcache-4.1.0" >> $env:GITHUB_PATH
- name: Setup Visual Studio environment
Expand Down Expand Up @@ -513,7 +513,7 @@ jobs:
DEBIAN_FRONTEND: noninteractive
run: |
sudo apt-get update
sudo apt-get install --no-install-recommends -y g++ gcc binutils flex bison cmake maven jq libxml2-utils openjdk-11-jdk-headless lcov ccache
sudo apt-get install --no-install-recommends -y g++ gcc binutils flex bison cmake maven jq libxml2-utils openjdk-11-jdk-headless lcov ccache z3
- name: Prepare ccache
uses: actions/cache@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion src/goto-instrument/accelerate/polynomial.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ exprt polynomialt::to_expr()
t_it!=m_it->terms.end();
++t_it)
{
if(itype.has_value())
if(!itype.has_value())
{
itype=t_it->var.type();
}
Expand Down