-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
04ddf97
commit c50b117
Showing
7 changed files
with
70 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,44 +1,45 @@ | ||
version: 2.1 | ||
|
||
jobs: | ||
focal_gcc9_docs: | ||
# focal_gcc9_docs: | ||
# docker: | ||
# - image: circleci/buildpack-deps:focal | ||
# steps: | ||
# - checkout | ||
# - run: | ||
# name: Build and test | ||
# command: bash ./tools/circleci_focal_gcc9_docs.sh | ||
# focal_gcc9_coverage: | ||
# docker: | ||
# - image: circleci/buildpack-deps:focal | ||
# steps: | ||
# - checkout | ||
# - run: | ||
# name: Build and test | ||
# command: bash ./tools/circleci_focal_gcc9_coverage.sh | ||
# focal_gcc9_ubsan: | ||
# docker: | ||
# - image: circleci/buildpack-deps:focal | ||
# steps: | ||
# - checkout | ||
# - run: | ||
# name: Build and test | ||
# command: bash ./tools/circleci_focal_gcc9_ubsan.sh | ||
conda_asan: | ||
docker: | ||
- image: circleci/buildpack-deps:focal | ||
- image: cimg/base:current | ||
resource_class: large | ||
steps: | ||
- checkout | ||
- run: | ||
name: Build and test | ||
command: bash ./tools/circleci_focal_gcc9_docs.sh | ||
focal_gcc9_coverage: | ||
docker: | ||
- image: circleci/buildpack-deps:focal | ||
steps: | ||
- checkout | ||
- run: | ||
name: Build and test | ||
command: bash ./tools/circleci_focal_gcc9_coverage.sh | ||
focal_gcc9_ubsan: | ||
docker: | ||
- image: circleci/buildpack-deps:focal | ||
steps: | ||
- checkout | ||
- run: | ||
name: Build and test | ||
command: bash ./tools/circleci_focal_gcc9_ubsan.sh | ||
focal_gcc9_asan: | ||
docker: | ||
- image: circleci/buildpack-deps:focal | ||
steps: | ||
- checkout | ||
- run: | ||
name: Build and test | ||
command: bash ./tools/circleci_focal_gcc9_asan.sh | ||
command: bash ./tools/conda_asan.sh | ||
|
||
workflows: | ||
version: 2.1 | ||
all_builds: | ||
jobs: | ||
- focal_gcc9_docs | ||
- focal_gcc9_coverage | ||
- focal_gcc9_ubsan | ||
- focal_gcc9_asan | ||
# - focal_gcc9_docs | ||
# - focal_gcc9_coverage | ||
# - focal_gcc9_ubsan | ||
- conda_asan |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
#!/usr/bin/env bash | ||
|
||
# Echo each command | ||
set -x | ||
|
||
# Exit on error. | ||
set -e | ||
|
||
wget https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-Linux-x86_64.sh -O miniconda.sh | ||
export deps_dir=$HOME/local | ||
export PATH="$HOME/miniconda/bin:$PATH" | ||
bash miniconda.sh -b -p $HOME/miniconda | ||
conda create -y -p $deps_dir cmake c-compiler cxx-compiler fmt backtrace mppp \ | ||
libboost-devel libabseil tbb-devel ninja | ||
source activate $deps_dir | ||
|
||
# Create the build dir and cd into it. | ||
mkdir build | ||
cd build | ||
|
||
# Clear the compilation flags set up by conda. | ||
unset CXXFLAGS | ||
unset CFLAGS | ||
|
||
cmake ../ -G Ninja \ | ||
-DCMAKE_BUILD_TYPE=Debug \ | ||
-DCMAKE_PREFIX_PATH=$deps_dir \ | ||
-DOBAKE_BUILD_TESTS=YES \ | ||
-DCMAKE_CXX_FLAGS="-fsanitize=address" \ | ||
-DOBAKE_WITH_LIBBACKTRACE=YES \ | ||
-DCMAKE_CXX_FLAGS_DEBUG="-g -Og" | ||
|
||
ninja -v | ||
|
||
ctest -VV -j4 | ||
|
||
set +e | ||
set +x |
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file was deleted.
Oops, something went wrong.