File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ concurrency:
1515
1616jobs :
1717 build :
18- name : ${{ matrix.name }} ${{ matrix.build_type }}
18+ name : ${{ matrix.name }} ${{ matrix.build_type }} ${{ (matrix.is_shared == 'ON') && 'Shared' || 'Static' }}
1919 runs-on : ${{ matrix.os }}
2020
2121 env :
2727 BOOST_EXE : boost_1_72_0-msvc-14.2
2828
2929 strategy :
30- fail-fast : true
30+ fail-fast : false
3131 matrix :
3232 # Github Actions requires a single row to be added to the build matrix.
3333 # See https://help.github.com/en/articles/workflow-syntax-for-github-actions.
4040 Release
4141 ]
4242
43+ is_shared : [
44+ ON,
45+ OFF
46+ ]
47+
4348 build_unstable : [ON]
4449 include :
4550 - name : windows-2022-cl
@@ -102,6 +107,7 @@ jobs:
102107 cmake -E remove_directory build
103108 if [ "${{ matrix.build_type }}" = "Release" ]; then
104109 cmake -B build \
110+ -DBUILD_SHARED_LIBS=${{ matrix.is_shared }} \
105111 -DGTSAM_BUILD_EXAMPLES_ALWAYS=OFF \
106112 -DGTSAM_ALLOW_DEPRECATED_SINCE_V43=OFF \
107113 -DGTSAM_USE_BOOST_FEATURES=ON \
@@ -111,6 +117,7 @@ jobs:
111117 -DBOOST_LIBRARYDIR="${BOOST_ROOT_UNIX}/lib"
112118 else
113119 cmake -B build \
120+ -DBUILD_SHARED_LIBS=${{ matrix.is_shared }} \
114121 -DGTSAM_BUILD_EXAMPLES_ALWAYS=OFF \
115122 -DGTSAM_ALLOW_DEPRECATED_SINCE_V43=OFF \
116123 -DGTSAM_USE_BOOST_FEATURES=OFF \
You can’t perform that action at this time.
0 commit comments