mirror of
https://github.com/pound-emu/ballistic.git
synced 2026-01-31 01:15:21 +01:00
build: mark doc target as ALL_BUILD
Windows does not support the doc target, which causes the CI to fail. Marking the doc target as ALL should fix this. Signed-off-by: Ronald Caesar <github43132@proton.me>
This commit is contained in:
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
@@ -132,9 +132,8 @@ jobs:
|
||||
-DBALLISTIC_ENABLE_BUILD_TESTS=ON \
|
||||
-DBALLISTIC_ENABLE_LINK_TIME_OPTIMIZATION=${{ matrix.type == 'Release' && 'ON' || 'OFF' }}
|
||||
|
||||
- name: Build Project & Docs
|
||||
# FIX: Replaced env var with relative path
|
||||
run: cmake --build build --config ${{ matrix.type }} --target all doc --parallel 4
|
||||
- name: Build Project
|
||||
run: cmake --build build --config ${{ matrix.type }} --target all --parallel 4
|
||||
|
||||
- name: Run Test Suite
|
||||
working-directory: build
|
||||
@@ -145,7 +144,6 @@ jobs:
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: ballistic-tools-${{ matrix.os }}
|
||||
# Relative paths are safe in action inputs
|
||||
path: |
|
||||
build/ballistic_cli*
|
||||
build/decoder_cli*
|
||||
|
||||
@@ -106,7 +106,7 @@ if(CMAKE_SYSTEM_NAME STREQUAL "Linux" OR CMAKE_SYSTEM_NAME STREQUAL "Darwin")
|
||||
set (PROJECT_HEADERS include/bal_engine.h include/bal_decoder.h
|
||||
include/bal_memory.h include/bal_types.h include/bal_errors.h)
|
||||
|
||||
add_custom_target(doc
|
||||
add_custom_target(doc ALL
|
||||
COMMAND ${CMAKE_CURRENT_BINARY_DIR}/cdoc docs/cdoc ${PROJECT_HEADERS}
|
||||
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
|
||||
COMMENT "Generating Documentation..."
|
||||
|
||||
Reference in New Issue
Block a user