Skip to content

Commit

Permalink
don't build tools and renderer by default
Browse files Browse the repository at this point in the history
this will lead to failing build because of missing platform libs
  • Loading branch information
q476852 authored and bojackHaasman committed Oct 27, 2021
1 parent eb679ab commit 2bec396
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,10 @@ jobs:
shell: bash
working-directory: ${{runner.workspace}}/build
run: |
cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=$BUILD_TYPE
cmake $GITHUB_WORKSPACE \
-DCMAKE_BUILD_TYPE=$BUILD_TYPE \
-Dramses-logic_BUILD_TOOLS=0 \
-Dramses-logic_BUILD_RAMSES_RENDERER=0
if: ${{ matrix.os == 'windows-latest' }}

- name: Configure CMake (Linux)
Expand All @@ -62,7 +65,9 @@ jobs:
cmake $GITHUB_WORKSPACE \
-DCMAKE_EXPORT_COMPILE_COMMANDS=1 \
-DCMAKE_TOOLCHAIN_FILE=$GITHUB_WORKSPACE/cmake/toolchain/Linux_X86_64_llvm.toolchain \
-DCMAKE_BUILD_TYPE=$BUILD_TYPE
-DCMAKE_BUILD_TYPE=$BUILD_TYPE \
-Dramses-logic_BUILD_TOOLS=0 \
-Dramses-logic_BUILD_RAMSES_RENDERER=0
if: ${{ matrix.os == 'ubuntu-latest' }}

- name: Build
Expand Down

0 comments on commit 2bec396

Please sign in to comment.