Skip to content

Commit

Permalink
Disable long running buildsystem tests by default
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Carroll <[email protected]>
  • Loading branch information
mjcarroll committed May 19, 2020
1 parent 234966f commit b08a2a6
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .github/workflows/ci-bionic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,20 @@ jobs:
uses: actions/checkout@v2
- name: Bionic CI
id: ci
uses: ignition-tooling/ubuntu-bionic-ci-action@master
uses: ignition-tooling/ubuntu-bionic-ci-action@cmake_args
with:
apt-dependencies: 'pkg-config'
bionic-ci-plus:
runs-on: ubuntu-latest
name: Ubuntu Bionic CI
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Bionic CI
id: ci
uses: ignition-tooling/ubuntu-bionic-ci-action@cmake_args
with:
apt-dependencies: 'pkg-config'
cmake-args: '-DBUILDSYSTEM_TESTING=True'


6 changes: 6 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ include(IgnCMake)
# Set up the project
ign_configure_project()

#--------------------------------------
# Set project-specific options
option(BUILDSYSTEM_TESTING "Enable extended buildsystem testing" FALSE)

#--------------------------------------
# Install the ignition documentation files
# Note: This is not actually creating a doc target for ign-cmake; this is just
Expand Down Expand Up @@ -148,7 +152,9 @@ message(STATUS "Install prefix: ${CMAKE_INSTALL_PREFIX}")
include(CTest)
if (BUILD_TESTING)
add_subdirectory(test)
endif()

if (BUILD_TESTING AND BUILDSYSTEM_TESTING)
#============================================================================
# Build examples
#============================================================================
Expand Down

0 comments on commit b08a2a6

Please sign in to comment.