Skip to content

Commit

Permalink
enable clang again
Browse files Browse the repository at this point in the history
  • Loading branch information
maxbachmann authored Oct 24, 2024
1 parent 4dc6be8 commit 3efb094
Showing 1 changed file with 30 additions and 31 deletions.
61 changes: 30 additions & 31 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,37 +6,36 @@ env:
BUILD_TYPE: Release

jobs:
# clang builds are broken in github actions right now: https://github.com/actions/runner-images/issues/8659
#build_linux_clang:
# runs-on: ubuntu-latest
# strategy:
# fail-fast: false
# matrix:
# BUILD_TYPE: [Release, Debug]
#
# 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_clang:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
BUILD_TYPE: [Release, Debug]

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
Expand Down

0 comments on commit 3efb094

Please sign in to comment.