-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[c++] Add ASAN run of CI to weekly CI job (#3434)
* Update Makefile and dev docs for sanitizer builds * Add weekly workflow for ASAN CI * Run workflow for PRs that modify workflow
- Loading branch information
Showing
5 changed files
with
47 additions
and
6 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 |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: libtiledbsoma ASAN | ||
|
||
on: | ||
pull_request: | ||
paths: | ||
- '.github/workflows/libtiledbsoma-asan-ci.yml' | ||
schedule: | ||
- cron: 20 8 * * 0 | ||
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: ctest --test-dir build/libtiledbsoma -C ASAN --verbose --rerun-failed --output-on-failure |
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
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
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
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