Skip to content

Commit

Permalink
Tweak CircleCI test build.
Browse files Browse the repository at this point in the history
Configure for C++17, since this is going to be our baseline soon.

Test against shared library, not static library, since this often trips
up un-exported symbols.
  • Loading branch information
jtv committed Feb 17, 2019
1 parent e6fb94c commit c414893
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,17 @@ jobs:
- run:
name: Set up database
command: createdb root
- run:
name: Autogen
command: NOCONFIGURE=1 ./autogen.sh
- run:
name: Configure
command: CXXFLAGS=-O0 CONFIG_ARGS=--disable-documentation ./autogen.sh
command: |
./configure \
CXXFLAGS='-O0 -std=c++17' \
--enable-maintainer-mode \
--disable-documentation \
--enable-shared --disable-static
- run:
name: Make
command: make
Expand Down

0 comments on commit c414893

Please sign in to comment.