Skip to content

Commit 4043a81

Browse files
committed
Added doriax-editor-cmd target to Github workflow
1 parent 21c5530 commit 4043a81

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/cmake.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,12 @@ jobs:
170170
env:
171171
CC: ${{ matrix.config.cc }}
172172
CXX: ${{ matrix.config.cxx }}
173-
run: cmake --build build --config ${{env.BUILD_TYPE}} --target ${{env.TARGET}}
173+
run: |
174+
targets=("${{ env.TARGET }}")
175+
if [[ "$RUNNER_OS" == "Windows" ]]; then
176+
targets+=("${{ env.TARGET }}-cmd")
177+
fi
178+
cmake --build build --config ${{env.BUILD_TYPE}} --target "${targets[@]}"
174179
175180
- name: Install Strip
176181
shell: bash

0 commit comments

Comments
 (0)