File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed
Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change 5151 export ARCH=${{ matrix.arch }}
5252 ./pkg/mac/build-static-library.sh
5353
54- - name : Test static libraries
55- run : |
56- export PULSAR_DIR=$PWD/pkg/mac/.install
57- echo "Build with static library"
58- 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
59- ./static.out
60- echo "Build with dynamic library"
61- 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
62- ./dynamic.out
63-
6454 - name : Zip artifact
6555 run : |
6656 cd ./pkg/mac/.install
7363 name : macos-${{ matrix.arch }}.zip
7464 path : macos-${{ matrix.arch }}.zip
7565
66+ - name : Test static libraries
67+ run : |
68+ echo "Build with dynamic library"
69+ 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
70+ ./dynamic.out
71+ export PULSAR_DIR=$PWD/pkg/mac/.install
72+ echo "Build with static library"
73+ 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
74+ ./static.out
75+
7676 check-completion :
7777 name : Check Completion
7878 runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments