We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bcfec3f commit 14c0869Copy full SHA for 14c0869
.github/workflows/ci-pr-validation.yaml
@@ -48,6 +48,16 @@ jobs:
48
export ARCH=${{ matrix.arch }}
49
./pkg/mac/build-static-library.sh
50
51
+ - name: Test static libraries
52
+ run: |
53
+ export PULSAR_DIR=$PWD/pkg/mac/.install
54
+ echo "Build with static library"
55
+ clang++ win-examples/example.cc -o static.out -std=c++11 -I $PULSAR_DIR/include $PULSAR_DIR/lib/libpulsarwithdeps.a -framework SystemConfiguration -framework CoreFoundation
56
+ ./static.out
57
+ echo "Build with dynamic library"
58
+ clang++ win-examples/example.cc -o dynamic.out -std=c++11 -I $PULSAR_DIR/include -L $PULSAR_DIR/lib -Wl,-rpath $PULSAR_DIR/lib -lpulsar
59
+ ./dynamic.out
60
+
61
- name: Zip artifact
62
run: |
63
cd ./pkg/mac/.install
0 commit comments