Skip to content

Commit 812bc98

Browse files
committed
Fix the PULSAR_DIR not set issue
1 parent de2f80e commit 812bc98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci-pr-validation.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,10 @@ jobs:
6565

6666
- name: Test static libraries
6767
run: |
68+
export PULSAR_DIR=$PWD/pkg/mac/.install
6869
echo "Build with dynamic library"
6970
clang++ win-examples/example.cc -o dynamic.out -std=c++11 -arch ${{ matrix.arch }} -I $PULSAR_DIR/include -L $PULSAR_DIR/lib -Wl,-rpath $PULSAR_DIR/lib -lpulsar
7071
./dynamic.out
71-
export PULSAR_DIR=$PWD/pkg/mac/.install
7272
echo "Build with static library"
7373
clang++ win-examples/example.cc -o static.out -std=c++11 -arch ${{ matrix.arch }} -I $PULSAR_DIR/include $PULSAR_DIR/lib/libpulsarwithdeps.a -framework SystemConfiguration -framework CoreFoundation
7474
./static.out

0 commit comments

Comments
 (0)