Sanitizer #9
This file contains hidden or 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
| # © Copyright 2025-2026, Query.Farm LLC - https://query.farm | |
| # SPDX-License-Identifier: Apache-2.0 | |
| name: Sanitizer | |
| on: | |
| pull_request: | |
| branches: [main] | |
| schedule: | |
| - cron: "0 6 * * 1" | |
| workflow_dispatch: | |
| env: | |
| VCPKG_BINARY_SOURCES: "clear;x-aws,s3://query-farm-duckdb-vcpkg/,readwrite" | |
| AWS_ACCESS_KEY_ID: ${{ secrets.VCPKG_CACHING_AWS_ACCESS_KEY_ID }} | |
| AWS_SECRET_ACCESS_KEY: ${{ secrets.VCPKG_CACHING_AWS_SECRET_ACCESS_KEY }} | |
| AWS_ENDPOINT_URL: ${{ secrets.VCPKG_CACHING_AWS_ENDPOINT_URL }} | |
| AWS_DEFAULT_REGION: ${{ secrets.VCPKG_CACHING_AWS_DEFAULT_REGION }} | |
| AWS_REQUEST_CHECKSUM_CALCULATION: when_required | |
| jobs: | |
| asan-ubsan: | |
| runs-on: ubuntu-24.04 | |
| env: | |
| ASAN_OPTIONS: detect_leaks=1:halt_on_error=1 | |
| UBSAN_OPTIONS: print_stacktrace=1:halt_on_error=1 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Clone and bootstrap vcpkg | |
| run: | | |
| git clone https://github.com/microsoft/vcpkg.git | |
| git -C vcpkg checkout 05442024c3fda64320bd25d2251cc9807b84fb6f | |
| ./vcpkg/bootstrap-vcpkg.sh -disableMetrics | |
| - name: Configure | |
| run: cmake --preset sanitizer | |
| - name: Build | |
| run: cmake --build --preset sanitizer --parallel | |
| - name: Test | |
| run: ctest --test-dir build --output-on-failure --timeout 300 -E conformance |