diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 185431c..55a65c2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,11 +4,17 @@ on: push: branches: - main - workflow_dispatch: + - master + + pull_request: + types: [opened, synchronize, reopened, labeled] jobs: build-and-test: name: Run on ${{ matrix.os }} with SOFA ${{ matrix.sofa_branch }} + if: > + github.event_name == 'push' || + contains(github.event.pull_request.labels.*.name, 'pr: status to review') runs-on: ${{ matrix.os }} strategy: fail-fast: false diff --git a/CMakeLists.txt b/CMakeLists.txt index 15a7fbe..7f7a102 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -19,7 +19,7 @@ ############################################################################## cmake_minimum_required(VERSION 3.12) -project(InfinyToolkit VERSION 0.1) +project(InfinyToolkit VERSION 0.1 LANGUAGES CXX) include(cmake/environment.cmake)