Skip to content

Commit

Permalink
add 32bit ci build
Browse files Browse the repository at this point in the history
  • Loading branch information
maxbachmann committed Oct 24, 2024
1 parent 1b0c573 commit 217894f
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,40 @@ jobs:
fuzzing/fuzz_osa_distance -max_total_time=30
fuzzing/fuzz_damerau_levenshtein_distance -max_total_time=30
build_linux_clang_32:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
BUILD_TYPE: [Release, Debug]
env:
CXXFLAGS: -m32
CFLAGS: -m32

steps:
- uses: actions/checkout@v2

- name: Configure CMake
run: cmake -B build -DCMAKE_BUILD_TYPE=${{matrix.BUILD_TYPE}} -DRAPIDFUZZ_BUILD_TESTING=1 -DRAPIDFUZZ_ENABLE_LINTERS=1 -DRAPIDFUZZ_BUILD_FUZZERS=1 -DCMAKE_CXX_COMPILER=clang++

- name: Build
run: cmake --build build --config ${{matrix.BUILD_TYPE}}

- name: Test
working-directory: build
run: ctest -C ${{matrix.BUILD_TYPE}} --rerun-failed --output-on-failure

- name: Fuzz Test
working-directory: build
run: |
fuzzing/fuzz_lcs_similarity -max_total_time=30
fuzzing/fuzz_levenshtein_distance -max_total_time=30
fuzzing/fuzz_levenshtein_editops -max_total_time=30
fuzzing/fuzz_indel_distance -max_total_time=30
fuzzing/fuzz_indel_editops -max_total_time=30
fuzzing/fuzz_osa_distance -max_total_time=30
fuzzing/fuzz_damerau_levenshtein_distance -max_total_time=30
build_linux_gcc:
runs-on: ubuntu-latest
strategy:
Expand Down

0 comments on commit 217894f

Please sign in to comment.