[c++] Column abstraction: SOMAAttribute
, part 2 (#3426)
#38
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
name: libtiledbsoma ASAN | |
on: | |
pull_request: | |
paths-ignore: | |
- "apis/python/**" | |
- "apis/r/**" | |
- ".pre-commit-config.yaml" | |
push: | |
branches: | |
- main | |
- 'release-*' | |
workflow_dispatch: | |
jobs: | |
asan: | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: Checkout TileDB-SOMA | |
uses: actions/checkout@v4 | |
- name: Install pre-built libtiledb | |
run: | | |
mkdir -p external | |
# Please do not edit manually -- let scripts/update-tiledb-version.py update this | |
wget --quiet https://github.com/TileDB-Inc/TileDB/releases/download/2.27.0/tiledb-linux-x86_64-2.27.0-2862c30.tar.gz | |
tar -C external -xzf tiledb-*.tar.gz | |
ls external/lib/ | |
- name: Build and install libtiledbsoma | |
run: | | |
cmake -S libtiledbsoma -B build \ | |
-D CMAKE_BUILD_TYPE=ASAN \ | |
-D CMAKE_PREFIX_PATH=$(pwd)/external/ \ | |
-D CMAKE_INSTALL_PREFIX:PATH=$(pwd)/external/ \ | |
-D OVERRIDE_INSTALL_PREFIX=OFF \ | |
-D DOWNLOAD_TILEDB_PREBUILT=OFF \ | |
-D TILEDB_REMOVE_DEPRECATIONS=ON \ | |
-D FORCE_BUILD_TILEDB=OFF | |
cmake --build build -j 2 | |
ls external/lib/ | |
- name: Run C++ unittests | |
run: ASAN_OPTIONS=detect_leaks=0 ctest --test-dir build/libtiledbsoma -C ASAN --verbose --rerun-failed --output-on-failure |