Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .clang-tidy
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,3 @@ Checks: >
WarningsAsErrors: '*'
# Check first-party (non-system, non-vendored) headers.
HeaderFilterRegex: '.*'
ExcludeHeaderFilterRegex: 'build/_deps/'
SystemHeaders: false
6 changes: 0 additions & 6 deletions .github/workflows/lint_and_format_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,6 @@ jobs:
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0

- name: Run clang-format
uses: jidicula/clang-format-action@6cd220de46c89139a0365edae93eee8eb30ca8fe # v4.16.0
with:
clang-format-version: '17'
fallback-style: 'Google'

- uses: chartboost/ruff-action@e18ae971ccee1b2d7bbef113930f00c670b78da4 # v1.0.0
name: Lint with Ruff
with:
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/ubuntu-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ jobs:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Setup Ninja
run: sudo apt-get install ninja-build
- name: Prepare
run: cmake -DBUILD_TESTING=OFF -DCMAKE_BUILD_TYPE=Release -G Ninja -B build
- name: Prepare (CMake with release-ninja preset)
run: cmake --preset release-ninja -DBUILD_TESTING=OFF
env:
CXX: ${{matrix.cxx}}
- name: Build
run: cmake --build build -j=4
- name: Test
run: ctest --output-on-failure --test-dir build
run: cmake --build build/release-ninja -j=4
- name: Test (if any configured)
run: ctest --output-on-failure --test-dir build/release-ninja || true
8 changes: 4 additions & 4 deletions .github/workflows/ubuntu-sanitized.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ jobs:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Setup Ninja
run: sudo apt-get install ninja-build
- name: Prepare
run: cmake -D ADA_TESTING=ON -DADA_SANITIZE=ON -DADA_DEVELOPMENT_CHECKS=ON -DBUILD_SHARED_LIBS=${{matrix.shared}} -G Ninja -B build
- name: Prepare (CMake with sanitize-address preset)
run: cmake --preset sanitize-address -DBUILD_SHARED_LIBS=${{matrix.shared}}
env:
CXX: g++-12
- name: Build
run: cmake --build build -j=4
run: cmake --build build/sanitize-address -j=4
- name: Test
run: ctest --output-on-failure --test-dir build
run: ctest --output-on-failure --test-dir build/sanitize-address
8 changes: 4 additions & 4 deletions .github/workflows/ubuntu-undef.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ jobs:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Setup Ninja
run: sudo apt-get install ninja-build
- name: Prepare
run: cmake -D ADA_TESTING=ON -D ADA_SANITIZE_UNDEFINED=ON -DADA_DEVELOPMENT_CHECKS=ON -DBUILD_SHARED_LIBS=${{matrix.shared}} -G Ninja -B build
- name: Prepare (CMake with sanitize-undefined preset)
run: cmake --preset sanitize-undefined -DBUILD_SHARED_LIBS=${{matrix.shared}}
env:
CXX: g++-12
- name: Build
run: cmake --build build -j=4
run: cmake --build build/sanitize-undefined -j=4
- name: Test
run: ctest --output-on-failure --test-dir build
run: ctest --output-on-failure --test-dir build/sanitize-undefined
10 changes: 5 additions & 5 deletions .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@ jobs:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Setup Ninja
run: sudo apt-get install ninja-build
- name: Prepare
run: cmake -D ADA_TESTING=ON -D ADA_BENCHMARKS=ON -DBUILD_SHARED_LIBS=${{matrix.shared}} -D ADA_USE_SIMDUTF=${{matrix.simdutf}} -G Ninja -B build
- name: Prepare (CMake with ci preset)
run: cmake --preset ci -DBUILD_SHARED_LIBS=${{matrix.shared}} -DADA_USE_SIMDUTF=${{matrix.simdutf}} -DADA_BENCHMARKS=ON
env:
CXX: ${{matrix.cxx}}
- name: Build
run: cmake --build build -j=4
run: cmake --build build/ci -j=4
- name: Test
run: ctest --output-on-failure --test-dir build
run: ctest --output-on-failure --test-dir build/ci
- name: Run default benchmark
run: cd build && benchmarks/bench
run: cd build/ci && benchmarks/bench
Loading
Loading