From de101f15223fb4fec07d22fedb96dddbb048fb3c Mon Sep 17 00:00:00 2001 From: Geoff Martin Date: Fri, 6 Dec 2024 14:19:14 +0000 Subject: [PATCH] Building with symbol prefixing as part of the CI. --- .github/workflows/ci.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index df7250b9..b2860b7e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -38,6 +38,13 @@ jobs: if: startsWith(matrix.os,'ubuntu') run: sudo apt-get -y install libacl1-dev + - name: Install LLVM toolchain + if: startsWith(matrix.os,'macos') + run: | + brew install llvm@19 + ls /opt/homebrew/opt/llvm@19/bin + echo "/opt/homebrew/opt/llvm@19/bin" >> $GITHUB_PATH + - name: Install Rust toolchain run: | rustup show @@ -55,6 +62,10 @@ jobs: if: ${{ ! startsWith(matrix.os,'windows') }} run: cargo build -p zenoh-plugin-dds --features dds_shm --verbose --all-targets + - name: Build zenoh-plugin-dds (with prefix_symbols) + if: ${{ ! startsWith(matrix.os,'windows') }} + run: cargo build -p zenoh-plugin-dds --features prefix_symbols --verbose --all-targets + - name: Build zenoh-bridge-dds run: cargo build -p zenoh-bridge-dds --verbose --all-targets @@ -62,6 +73,10 @@ jobs: if: ${{ ! startsWith(matrix.os,'windows') }} run: cargo build -p zenoh-bridge-dds --features dds_shm --verbose --all-targets + - name: Build zenoh-bridge-dds (with prefix_symbols) + if: ${{ ! startsWith(matrix.os,'windows') }} + run: cargo build -p zenoh-bridge-dds --features prefix_symbols --verbose --all-targets + - name: Run tests run: cargo test --verbose