Skip to content

Commit 4dedfd6

Browse files
committed
EXCLUDE_FROM_ALL nite, correct building examples and installing targets
1 parent c02e5b1 commit 4dedfd6

File tree

2 files changed

+13
-6
lines changed

2 files changed

+13
-6
lines changed

.github/workflows/build-nabla.yml

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -135,18 +135,25 @@ jobs:
135135
run: |
136136
docker exec orphan `
137137
${{ env.entry }} ${{ env.cmd }} -Command cmake --build `
138-
${{ env.binary }}\examples_tests --config ${{ matrix.config }}
138+
--preset ci-build-dynamic-${{ matrix.vendor }} `
139+
-t examples_tests\all --config ${{ matrix.config }} `
140+
-- -k 0
139141
140-
- name: Container – Install NSC
142+
- name: Container – Install Nabla
141143
run: |
142144
docker exec orphan `
143145
${{ env.entry }} ${{ env.cmd }} -Command cmake --install `
144146
${{ env.binary }} --config ${{ matrix.config }} `
145-
--component Runtimes --prefix ${{ env.install }}
147+
--prefix ${{ env.install }}
148+
149+
- name: Container – Install Examples
150+
id: install-examples
151+
continue-on-error: true
152+
run: |
146153
docker exec orphan `
147154
${{ env.entry }} ${{ env.cmd }} -Command cmake --install `
148-
${{ env.binary }} --config ${{ matrix.config }} `
149-
--component Executables --prefix ${{ env.install }}
155+
${{ env.binary }}\examples_tests --config ${{ matrix.config }} `
156+
--prefix ${{ env.install }}
150157
151158
- name: Container – Save NSC Image
152159
run: |

tools/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ add_subdirectory(nsc)
22
add_subdirectory(xxHash256)
33

44
if(NBL_BUILD_IMGUI)
5-
add_subdirectory(nite)
5+
add_subdirectory(nite EXCLUDE_FROM_ALL)
66
endif()
77

88
NBL_ADJUST_FOLDERS(tools)

0 commit comments

Comments
 (0)