Skip to content

Commit

Permalink
Enable KDStateMachineEditor build on all OSes
Browse files Browse the repository at this point in the history
  • Loading branch information
dantti committed Jun 23, 2024
1 parent b5fbe9a commit d1a30b9
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,19 @@ jobs:
if: ${{ runner.os == 'Linux' }}
run: |
sudo apt update -qq
sudo apt install -y gdb doxygen libgraphviz-dev
sudo apt install -y gdb doxygen
- name: Install Dependencies on macOS
if: ${{ runner.os == 'macOS' }}
run: brew install bison

- name: Install ninja-build tool (must be after Qt due PATH changes)
uses: turtlesec-no/get-ninja@main

- name: Add Bison to PATH (must be after Qt due PATH changes)
if: ${{ runner.os == 'macOS' }}
run: echo "/opt/homebrew/opt/bison/bin" >> $GITHUB_PATH

- name: Make sure MSVC is found when Ninja generator is in use
if: ${{ runner.os == 'Windows' }}
uses: ilammy/msvc-dev-cmd@v1
Expand All @@ -94,7 +102,7 @@ jobs:
run: >
cmake -S . -G Ninja --preset ${{ matrix.config.preset }}
-DCMAKE_OSX_ARCHITECTURES=${{ matrix.config.cmake_osx_architectures}}
-DGAMMARAY_WITH_KDSME=${{ runner.os == 'Linux' }}
-DGAMMARAY_WITH_KDSME=ON
-DGAMMARAY_BUILD_DOCS=${{ runner.os == 'Linux' }}
- name: Build Project
Expand Down
2 changes: 1 addition & 1 deletion 3rdparty/KDStateMachineEditor

0 comments on commit d1a30b9

Please sign in to comment.