From f64d918ad88f0676d7de4f8de2d348e34ccff546 Mon Sep 17 00:00:00 2001 From: Eric Veilleux Date: Tue, 21 Nov 2023 16:46:43 -0500 Subject: [PATCH] Update build-and-test.yaml --- .github/workflows/build-and-test.yaml | 7 +++++++ 1 file changed, 7 insertions(+) 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: