Fix building simdjson against libc++ with _LIBCPP_REMOVE_TRANSITIVE_INCLUDES defined #414
Workflow file for this run
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: Ubuntu 22.04 CI (GCC 12) with Thread Sanitizer | |
on: [push, pull_request] | |
jobs: | |
ubuntu-build: | |
if: >- | |
! contains(toJSON(github.event.commits.*.message), '[skip ci]') && | |
! contains(toJSON(github.event.commits.*.message), '[skip github]') | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/cache@v4 | |
with: | |
path: dependencies/.cache | |
key: ${{ hashFiles('dependencies/CMakeLists.txt') }} | |
- name: Use cmake | |
run: | | |
mkdir build && | |
cd build && | |
CXX=g++-12 cmake -DSIMDJSON_DEVELOPER_MODE=ON -DSIMDJSON_SANITIZE_THREADS=ON .. && | |
cmake --build . --target document_stream_tests --target ondemand_document_stream_tests --target parse_many_test && | |
ctest --output-on-failure -R parse_many_test && | |
ctest --output-on-failure -R document_stream_tests |