Skip to content

Commit

Permalink
Added cmake flags in test worflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastianSvanland committed Apr 9, 2024
1 parent 174bbd7 commit a5c68fe
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
BUILD_TYPE: Release
BUILD_TESTING: ON
WITH_SWIG: ON
SWIG_WITH_PYTHON: ON

jobs:
test:
Expand All @@ -33,7 +35,7 @@ jobs:
- name: Configure CMake
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
# See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DBUILD_TESTING=${{env.BUILD_TESTING}}
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DBUILD_TESTING=${{env.BUILD_TESTING}} -DWITH_SWIG=${{env.WITH_SWIG}} -DSWIG_WITH_PYTHON=${{env.SWIG_WITH_PYTHON}}

- name: Build
# Build your program with the given configuration
Expand Down

0 comments on commit a5c68fe

Please sign in to comment.