Skip to content

Commit b582166

Browse files
committed
try adding an arg to cmake install
1 parent 3340938 commit b582166

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/examples.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,8 @@ jobs:
114114
115115
- name: Comprehensive CMake example
116116
shell: bash
117+
env:
118+
EXTRA_CMAKE_INSTALL: "--config=Debug"
117119
run: |
118120
cd examples/cmake-scenarios
119121
./build.sh

examples/cmake-scenarios/build.sh

+1-3
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,12 @@
1919

2020
set -exuo pipefail
2121

22-
export CMAKE_CONFIGURATION_TYPES="Release;Debug"
23-
2422
# Build nanoarrow statically.
2523
cmake -S ../.. -B scratch/nanoarrow_build/ \
2624
-DCMAKE_INSTALL_PREFIX=scratch/nanoarrow_install/ \
2725
-DNANOARROW_IPC=ON -DNANOARROW_DEVICE=ON -DNANOARROW_TESTING=ON
2826
cmake --build scratch/nanoarrow_build/
29-
cmake --install scratch/nanoarrow_build/
27+
cmake --install scratch/nanoarrow_build/ $EXTRA_CMAKE_INSTALL
3028

3129
for nanoarrow_build_type in static shared; do
3230
# Build the project against the built nanoarrow.

0 commit comments

Comments
 (0)