Skip to content

Commit

Permalink
Enable static builds in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
dominiklohmann committed Nov 14, 2019
1 parent e2551e3 commit 41fab06
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .cirrus.yml
Expand Up @@ -34,7 +34,7 @@ style_task:
- cmake -Bbuild -H. -DCMAKE_INSTALL_PREFIX="$PREFIX"
-DCMAKE_BUILD_TYPE="$BUILD_TYPE" -DCPACK_GENERATOR=TGZ
-DCPACK_PACKAGE_FILE_NAME="$(cat PACKAGE_NAME)"
-DCPACK_SET_DESTDIR=ON "$CONFIGURE_FLAGS" -G Ninja
-DCPACK_SET_DESTDIR=ON $CONFIGURE_FLAGS -G Ninja
- cmake --build build --target all
unit_test_script:
- cmake --build build --target test
Expand Down Expand Up @@ -88,8 +88,13 @@ freebsd_task:
CXX: c++
matrix:
- BUILD_TYPE: Release
CONFIGURE_FLAGS:
- BUILD_TYPE: Release
CONFIGURE_FLAGS: -DBUILD_SHARED_LIBS:BOOL=OFF
- BUILD_TYPE: Debug
CONFIGURE_FLAGS: -DENABLE_ADDRESS_SANITIZER:BOOL=ON
- BUILD_TYPE: Debug
CONFIGURE_FLAGS: -DENABLE_ADDRESS_SANITIZER:BOOL=ON -DBUILD_SHARED_LIBS:BOOL=OFF
setup_script:
- env ASSUME_ALWAYS_YES=YES pkg install git cmake ninja lang/python3 lang/python py36-pip base64 jq tcpdump rsync
<<: *build_definition
Expand Down Expand Up @@ -126,4 +131,4 @@ release_task:
setup_script:
- echo "$DOWNLOAD_KEY" | base64 --decode > download_key && chmod 600 download_key
script:
- ./.ci/conditional-release.sh
- ./.ci/conditional-release.sh

0 comments on commit 41fab06

Please sign in to comment.