Skip to content

Commit bdc97ad

Browse files
committed
Enable unit test on Azure Linux CI job
1 parent 835924f commit bdc97ad

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

.github/workflows/ci.yml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ jobs:
9494
if-no-files-found: ignore
9595
if: success() || failure()
9696

97-
build_azure_linux:
97+
build_and_test_azure_linux:
9898
name: "Azure Linux CI"
9999
needs: checks
100100
runs-on: [self-hosted, 1ES.Pool=gha-virtual-ccf-sub]
@@ -115,7 +115,7 @@ jobs:
115115
# Dependencies
116116
tdnf -y install openssl-devel libuv-devel
117117
# Test dependencies
118-
tdnf -y install libarrow-devel parquet-libs-devel
118+
tdnf -y install libarrow-devel parquet-libs-devel lldb npm
119119
shell: bash
120120

121121
- uses: actions/checkout@v4
@@ -131,3 +131,14 @@ jobs:
131131
CC=`which clang` CXX=`which clang++` cmake -GNinja -DCOMPILE_TARGET=virtual -DCMAKE_BUILD_TYPE=Debug -DLVI_MITIGATIONS=OFF -DUSE_LIBCXX=OFF ..
132132
ninja
133133
shell: bash
134+
135+
- name: "Test virtual"
136+
run: |
137+
set -ex
138+
cd build
139+
rm -rf /github/home/.cache
140+
mkdir -p /github/home/.cache
141+
export ASAN_SYMBOLIZER_PATH=$(realpath /usr/bin/llvm-symbolizer-15)
142+
# Unit tests
143+
./tests.sh --output-on-failure -L unit -j$(nproc --all)
144+
shell: bash

0 commit comments

Comments
 (0)