Skip to content

Commit ac11ec8

Browse files
authored
Merge pull request #5944 from thomasspriggs/tas/smt_struct_fix_ci
Add z3 package installation to CI pull request checks
2 parents cce4503 + 0b7431f commit ac11ec8

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

.github/workflows/pull-request-checks.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
DEBIAN_FRONTEND: noninteractive
1818
run: |
1919
sudo apt-get update
20-
sudo apt-get install --no-install-recommends -yq gcc gdb g++ maven jq flex bison libxml2-utils ccache cmake
20+
sudo apt-get install --no-install-recommends -yq gcc gdb g++ maven jq flex bison libxml2-utils ccache cmake z3
2121
- name: Prepare ccache
2222
uses: actions/cache@v2
2323
with:
@@ -75,7 +75,7 @@ jobs:
7575
DEBIAN_FRONTEND: noninteractive
7676
run: |
7777
sudo apt-get update
78-
sudo apt-get install --no-install-recommends -yq clang-10 clang++-10 gdb maven jq flex bison libxml2-utils cpanminus ccache
78+
sudo apt-get install --no-install-recommends -yq clang-10 clang++-10 gdb maven jq flex bison libxml2-utils cpanminus ccache z3
7979
make -C src minisat2-download
8080
cpanm Thread::Pool::Simple
8181
- name: Prepare ccache
@@ -128,7 +128,7 @@ jobs:
128128
DEBIAN_FRONTEND: noninteractive
129129
run: |
130130
sudo apt-get update
131-
sudo apt-get install --no-install-recommends -yq cmake ninja-build gcc g++ maven flex bison libxml2-utils dpkg-dev ccache doxygen
131+
sudo apt-get install --no-install-recommends -yq cmake ninja-build gcc g++ maven flex bison libxml2-utils dpkg-dev ccache doxygen z3
132132
- name: Prepare ccache
133133
uses: actions/cache@v2
134134
with:
@@ -171,7 +171,7 @@ jobs:
171171
with:
172172
submodules: recursive
173173
- name: Fetch dependencies
174-
run: brew install maven flex bison parallel ccache
174+
run: brew install maven flex bison parallel ccache z3
175175
- name: Prepare ccache
176176
uses: actions/cache@v2
177177
with:
@@ -211,7 +211,7 @@ jobs:
211211
with:
212212
submodules: recursive
213213
- name: Fetch dependencies
214-
run: brew install cmake ninja maven flex bison ccache
214+
run: brew install cmake ninja maven flex bison ccache z3
215215
- name: Prepare ccache
216216
uses: actions/cache@v2
217217
with:
@@ -248,7 +248,7 @@ jobs:
248248
submodules: recursive
249249
- name: Fetch dependencies
250250
run: |
251-
choco install winflexbison3
251+
choco install winflexbison3 z3
252252
nuget install clcache -OutputDirectory "c:\tools" -ExcludeVersion -Version 4.1.0
253253
echo "c:\tools\clcache\clcache-4.1.0" >> $env:GITHUB_PATH
254254
- name: Setup Visual Studio environment
@@ -513,7 +513,7 @@ jobs:
513513
DEBIAN_FRONTEND: noninteractive
514514
run: |
515515
sudo apt-get update
516-
sudo apt-get install --no-install-recommends -y g++ gcc binutils flex bison cmake maven jq libxml2-utils openjdk-11-jdk-headless lcov ccache
516+
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
517517
- name: Prepare ccache
518518
uses: actions/cache@v2
519519
with:

src/goto-instrument/accelerate/polynomial.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ exprt polynomialt::to_expr()
3535
t_it!=m_it->terms.end();
3636
++t_it)
3737
{
38-
if(itype.has_value())
38+
if(!itype.has_value())
3939
{
4040
itype=t_it->var.type();
4141
}

0 commit comments

Comments
 (0)