mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-12 06:32:09 +00:00
Use matrix in ci.yml for BUILD_SHARED_LIBS
This commit is contained in:
@@ -37,6 +37,10 @@ jobs:
|
|||||||
compile-and-test:
|
compile-and-test:
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
needs: activate
|
needs: activate
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
build_shared_libs: [ON, OFF]
|
||||||
env:
|
env:
|
||||||
# Colored output for cmake.
|
# Colored output for cmake.
|
||||||
CLICOLOR_FORCE: "1"
|
CLICOLOR_FORCE: "1"
|
||||||
@@ -181,6 +185,7 @@ jobs:
|
|||||||
-DPYTHON_EXECUTABLE:FILEPATH=${{ env.pythonLocation }}/bin/python \
|
-DPYTHON_EXECUTABLE:FILEPATH=${{ env.pythonLocation }}/bin/python \
|
||||||
-DPYTHON_INCLUDE_DIR:PATH=${{ env.pythonLocation }}/include/python3.11 \
|
-DPYTHON_INCLUDE_DIR:PATH=${{ env.pythonLocation }}/include/python3.11 \
|
||||||
-DUSE_MMAP=On \
|
-DUSE_MMAP=On \
|
||||||
|
-DBUILD_SHARED_LIBS=${{ matrix.build_shared_libs }} \
|
||||||
"-DSCHEMA_VERSIONS=2x3;4;4x3_add2" \
|
"-DSCHEMA_VERSIONS=2x3;4;4x3_add2" \
|
||||||
-DGLTF_SUPPORT=On \
|
-DGLTF_SUPPORT=On \
|
||||||
-DWITH_ROCKSDB=On \
|
-DWITH_ROCKSDB=On \
|
||||||
|
|||||||
Reference in New Issue
Block a user