diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index 9cae47337c..7e62015234 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -141,7 +141,7 @@ jobs: # Some of our rust modules use FFI and need those to be checked - name: Get postgres headers - run: make postgres-headers -j$(nproc) + run: CC=clang CARGO_BUILD_FLAGS="--features=testing" make postgres-headers -j$(nproc) # cargo hack runs the given cargo subcommand (clippy in this case) for all feature combinations. # This will catch compiler & clippy warnings in all feature combinations.