diff --git a/.clusterfuzzlite/Dockerfile b/.clusterfuzzlite/Dockerfile index 1061003e..ecda1f66 100644 --- a/.clusterfuzzlite/Dockerfile +++ b/.clusterfuzzlite/Dockerfile @@ -8,7 +8,8 @@ FROM gcr.io/oss-fuzz-base/base-builder:v1 RUN apt-get update && apt-get install -y \ build-essential ninja-build cmake make \ - libreadline-dev libunwind-dev zlib1g-dev + libreadline-dev libunwind-dev zlib1g-dev \ + protobuf-compiler libprotobuf-dev COPY . $SRC/lua-c-api-tests WORKDIR $SRC/lua-c-api-tests diff --git a/.clusterfuzzlite/build.sh b/.clusterfuzzlite/build.sh index a9e930bb..8be75585 100755 --- a/.clusterfuzzlite/build.sh +++ b/.clusterfuzzlite/build.sh @@ -29,6 +29,7 @@ esac cmake_args=( -DUSE_LUAJIT=ON -DOSS_FUZZ=ON + -DENABLE_BUILD_PROTOBUF=OFF $SANITIZERS_ARGS # C compiler diff --git a/.github/workflows/cflite_batch.yml b/.github/workflows/cflite_batch.yml index 5605787b..25193fd7 100644 --- a/.github/workflows/cflite_batch.yml +++ b/.github/workflows/cflite_batch.yml @@ -15,7 +15,7 @@ permissions: read-all jobs: luajit: - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 strategy: fail-fast: false matrix: diff --git a/.github/workflows/cflite_build.yml b/.github/workflows/cflite_build.yml index 89a639d8..743f2559 100644 --- a/.github/workflows/cflite_build.yml +++ b/.github/workflows/cflite_build.yml @@ -10,7 +10,7 @@ permissions: read-all jobs: luajit: - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 strategy: fail-fast: false matrix: diff --git a/.github/workflows/cflite_cron.yml b/.github/workflows/cflite_cron.yml index 3f3f2447..27778560 100644 --- a/.github/workflows/cflite_cron.yml +++ b/.github/workflows/cflite_cron.yml @@ -16,7 +16,7 @@ jobs: # are covered by fuzzing. Coverage: - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v4 - uses: ./.github/actions/setup @@ -46,7 +46,7 @@ jobs: # code coverage. Pruning: - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v4 - uses: ./.github/actions/setup diff --git a/.github/workflows/cflite_pr.yml b/.github/workflows/cflite_pr.yml index f9ca30d1..a46d0d76 100644 --- a/.github/workflows/cflite_pr.yml +++ b/.github/workflows/cflite_pr.yml @@ -35,7 +35,7 @@ permissions: read-all jobs: luajit: - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 strategy: fail-fast: false matrix: diff --git a/CMakePresets.json b/CMakePresets.json index b7722910..04b87368 100644 --- a/CMakePresets.json +++ b/CMakePresets.json @@ -41,7 +41,7 @@ }, "ENABLE_BUILD_PROTOBUF": { "type": "BOOL", - "value": "FALSE" + "value": "TRUE" } } }, diff --git a/cmake/ProtobufMutator.cmake b/cmake/ProtobufMutator.cmake index da63e27f..2160ff47 100644 --- a/cmake/ProtobufMutator.cmake +++ b/cmake/ProtobufMutator.cmake @@ -29,7 +29,7 @@ include (ExternalProject) ExternalProject_Add(${LPM_TARGET} PREFIX ${LPM_TARGET} GIT_REPOSITORY ${LPM_REPO} - GIT_TAG 212a7be + GIT_TAG v1.3 UPDATE_COMMAND "" CONFIGURE_COMMAND ${CMAKE_COMMAND} ${LPM_INSTALL_DIR}/src/${LPM_TARGET} -G${CMAKE_GENERATOR}