diff --git a/.github/workflows/android-ci.yml b/.github/workflows/android-ci.yml index ee67b66bcb..ee9b9aa343 100644 --- a/.github/workflows/android-ci.yml +++ b/.github/workflows/android-ci.yml @@ -7,14 +7,14 @@ env: TRAVIS_OS_NAME: linux BUILD_TARGET: android # Simple let github action to build all (TODO: optimize in the future) - TRAVIS_PULL_REQUEST: false + TRAVIS_PULL_REQUEST: true BUILD_TYPE: Release GITHUB_CI: true PYENV_VERSION: 2.7.18 jobs: build: - if: "!contains(github.event.commits[0].message, '[skip ci]')" + if: "contains(github.event.commits[0].message, '[ci build]')" # The CMake configure and build commands are platform agnostic and should work equally # well on Windows or Mac. You can convert this to a matrix build if you need # cross-platform coverage. diff --git a/.github/workflows/ios-ci.yml b/.github/workflows/ios-ci.yml index 3166eea71d..f2d6073364 100644 --- a/.github/workflows/ios-ci.yml +++ b/.github/workflows/ios-ci.yml @@ -7,13 +7,13 @@ env: TRAVIS_OS_NAME: osx BUILD_TARGET: ios # Simple let github action to build all (TODO: optimize in the future) - TRAVIS_PULL_REQUEST: false + TRAVIS_PULL_REQUEST: true BUILD_TYPE: Release GITHUB_CI: true jobs: build: - if: "!contains(github.event.commits[0].message, '[skip ci]')" + if: "contains(github.event.commits[0].message, '[ci build]')" # The CMake configure and build commands are platform agnostic and should work equally # well on Windows or Mac. You can convert this to a matrix build if you need # cross-platform coverage. diff --git a/.github/workflows/linux-ci.yml b/.github/workflows/linux-ci.yml index a3067bb4c9..4db1a176f9 100644 --- a/.github/workflows/linux-ci.yml +++ b/.github/workflows/linux-ci.yml @@ -7,13 +7,13 @@ env: TRAVIS_OS_NAME: linux BUILD_TARGET: linux # Simple let github action to build all (TODO: optimize in the future) - TRAVIS_PULL_REQUEST: false + TRAVIS_PULL_REQUEST: true BUILD_TYPE: Release GITHUB_CI: true jobs: build: - if: "!contains(github.event.commits[0].message, '[skip ci]')" + if: "contains(github.event.commits[0].message, '[ci build]')" # The CMake configure and build commands are platform agnostic and should work equally # well on Windows or Mac. You can convert this to a matrix build if you need # cross-platform coverage. diff --git a/.github/workflows/osx-ci.yml b/.github/workflows/osx-ci.yml index ab6c64810d..dbe37c7aa5 100644 --- a/.github/workflows/osx-ci.yml +++ b/.github/workflows/osx-ci.yml @@ -13,7 +13,7 @@ env: jobs: build: - if: "!contains(github.event.commits[0].message, '[skip ci]')" + if: "contains(github.event.commits[0].message, '[ci build]')" # The CMake configure and build commands are platform agnostic and should work equally # well on Windows or Mac. You can convert this to a matrix build if you need # cross-platform coverage. diff --git a/.github/workflows/pr-ci.yml b/.github/workflows/pr-ci.yml index 897c5e7569..d94a4a5403 100644 --- a/.github/workflows/pr-ci.yml +++ b/.github/workflows/pr-ci.yml @@ -12,7 +12,6 @@ env: jobs: build-win32: name: build-win32 - if: "!contains(github.event.commits[0].message, '[skip ci]')" runs-on: windows-latest steps: - uses: actions/checkout@v2 @@ -29,7 +28,6 @@ jobs: build-linux: name: build-linux - if: "!contains(github.event.commits[0].message, '[skip ci]')" runs-on: ubuntu-18.04 env: TRAVIS_OS_NAME: linux @@ -45,7 +43,6 @@ jobs: build-android: name: build-android - if: "!contains(github.event.commits[0].message, '[skip ci]')" runs-on: ubuntu-16.04 env: TRAVIS_OS_NAME: linux @@ -62,7 +59,6 @@ jobs: build-osx: name: build-osx - if: "!contains(github.event.commits[0].message, '[skip ci]')" runs-on: macos-latest env: TRAVIS_OS_NAME: osx @@ -78,7 +74,6 @@ jobs: build-ios: name: build-ios - if: "!contains(github.event.commits[0].message, '[skip ci]')" runs-on: macos-latest env: TRAVIS_OS_NAME: osx diff --git a/.github/workflows/win32-ci.yml b/.github/workflows/win32-ci.yml index 5c28bc21e1..7a949c83f2 100644 --- a/.github/workflows/win32-ci.yml +++ b/.github/workflows/win32-ci.yml @@ -5,11 +5,10 @@ on: [push] env: # Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.) BUILD_TYPE: Release - TRAVIS_PULL_REQUEST: false jobs: build: - if: "!contains(github.event.commits[0].message, '[skip ci]') && contains(github.event.commits[0].message, 'Merge pull request')" + if: "contains(github.event.commits[0].message, '[ci build]')" # The CMake configure and build commands are platform agnostic and should work equally # well on Windows or Mac. You can convert this to a matrix build if you need # cross-platform coverage.