diff --git a/.github/workflows/build-and-test.yaml b/.github/workflows/build-and-test.yaml index 9b71ec3..5d26098 100644 --- a/.github/workflows/build-and-test.yaml +++ b/.github/workflows/build-and-test.yaml @@ -53,9 +53,16 @@ jobs: shell: bash run: sudo apt install libclang-15-dev -y - name: Build project + if: matrix.os != 'ubuntu-latest' run: cargo build ${{ matrix.features_arg }} env: CXX: ${{ matrix.compiler }} + - name: Build project (Ubuntu) + if: matrix.os == 'ubuntu-latest' + run: cargo build ${{ matrix.features_arg }} + env: + CXX: ${{ matrix.compiler }} + LIBCLANG_PATH: "/usr/lib/x86_64-linux-gnu/libclang-15.so.1" - name: Run tests run: cargo test ${{ matrix.features_arg }} env: