Where are GV headers installed in CI?

I’m trying to add tests that compile the examples in dot.demo/. However, I can’t seem to figure out where gvc.h and friends get installed in CI. You can see my current failing attempt at https://gitlab.com/smattr/graphviz/-/pipelines/163127143. Any ideas?

It currently doesn’t get installed, I think. We need to add installation of libgraphviz-dev_${GV_VERSION}-1_amd64.deb to ci/test.sh:

magjac@t440:~/Downloads$ dpkg -c libgraphviz-dev_2.45.20200704.1652-1_amd64.deb | grep gvc
-rw-r--r-- root/root      4185 2020-07-04 19:00 ./usr/include/graphviz/gvc.h
-rw-r--r-- root/root      2643 2020-07-04 19:00 ./usr/include/graphviz/gvcext.h
-rw-r--r-- root/root     13111 2020-07-04 19:00 ./usr/include/graphviz/gvcjob.h
-rw-r--r-- root/root      1148 2020-07-04 19:00 ./usr/include/graphviz/gvcommon.h
-rw-r--r-- root/root       866 2020-07-04 19:00 ./usr/include/graphviz/gvconfig.h
-rw-r--r-- root/root       256 2020-07-04 19:00 ./usr/lib/pkgconfig/libgvc.pc
-rw-r--r-- root/root       884 2020-07-04 19:01 ./usr/share/man/man3/gvc.3.gz
lrwxrwxrwx root/root         0 2020-07-04 19:01 ./usr/lib/libgvc.so -> libgvc.so.6.0.0
1 Like

Ah, mystery solved, thank you! Do you think it’s worth installing them, or should I just make these tests look in ./usr/include and ./usr/lib?

1 Like

Yes, I think you should install them. I think we want the tests to do what an “installing user” would do and also to test if there’s something missing in the installation.

1 Like