Trigger ci build by comment

This commit is contained in:
halx99 2020-10-27 18:07:55 +08:00
parent 5a1cf12b84
commit 6d28887126
6 changed files with 8 additions and 14 deletions

View File

@ -7,14 +7,14 @@ env:
TRAVIS_OS_NAME: linux TRAVIS_OS_NAME: linux
BUILD_TARGET: android BUILD_TARGET: android
# Simple let github action to build all (TODO: optimize in the future) # Simple let github action to build all (TODO: optimize in the future)
TRAVIS_PULL_REQUEST: false TRAVIS_PULL_REQUEST: true
BUILD_TYPE: Release BUILD_TYPE: Release
GITHUB_CI: true GITHUB_CI: true
PYENV_VERSION: 2.7.18 PYENV_VERSION: 2.7.18
jobs: jobs:
build: 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 # 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 # well on Windows or Mac. You can convert this to a matrix build if you need
# cross-platform coverage. # cross-platform coverage.

View File

@ -7,13 +7,13 @@ env:
TRAVIS_OS_NAME: osx TRAVIS_OS_NAME: osx
BUILD_TARGET: ios BUILD_TARGET: ios
# Simple let github action to build all (TODO: optimize in the future) # Simple let github action to build all (TODO: optimize in the future)
TRAVIS_PULL_REQUEST: false TRAVIS_PULL_REQUEST: true
BUILD_TYPE: Release BUILD_TYPE: Release
GITHUB_CI: true GITHUB_CI: true
jobs: jobs:
build: 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 # 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 # well on Windows or Mac. You can convert this to a matrix build if you need
# cross-platform coverage. # cross-platform coverage.

View File

@ -7,13 +7,13 @@ env:
TRAVIS_OS_NAME: linux TRAVIS_OS_NAME: linux
BUILD_TARGET: linux BUILD_TARGET: linux
# Simple let github action to build all (TODO: optimize in the future) # Simple let github action to build all (TODO: optimize in the future)
TRAVIS_PULL_REQUEST: false TRAVIS_PULL_REQUEST: true
BUILD_TYPE: Release BUILD_TYPE: Release
GITHUB_CI: true GITHUB_CI: true
jobs: jobs:
build: 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 # 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 # well on Windows or Mac. You can convert this to a matrix build if you need
# cross-platform coverage. # cross-platform coverage.

View File

@ -13,7 +13,7 @@ env:
jobs: jobs:
build: 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 # 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 # well on Windows or Mac. You can convert this to a matrix build if you need
# cross-platform coverage. # cross-platform coverage.

View File

@ -12,7 +12,6 @@ env:
jobs: jobs:
build-win32: build-win32:
name: build-win32 name: build-win32
if: "!contains(github.event.commits[0].message, '[skip ci]')"
runs-on: windows-latest runs-on: windows-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
@ -29,7 +28,6 @@ jobs:
build-linux: build-linux:
name: build-linux name: build-linux
if: "!contains(github.event.commits[0].message, '[skip ci]')"
runs-on: ubuntu-18.04 runs-on: ubuntu-18.04
env: env:
TRAVIS_OS_NAME: linux TRAVIS_OS_NAME: linux
@ -45,7 +43,6 @@ jobs:
build-android: build-android:
name: build-android name: build-android
if: "!contains(github.event.commits[0].message, '[skip ci]')"
runs-on: ubuntu-16.04 runs-on: ubuntu-16.04
env: env:
TRAVIS_OS_NAME: linux TRAVIS_OS_NAME: linux
@ -62,7 +59,6 @@ jobs:
build-osx: build-osx:
name: build-osx name: build-osx
if: "!contains(github.event.commits[0].message, '[skip ci]')"
runs-on: macos-latest runs-on: macos-latest
env: env:
TRAVIS_OS_NAME: osx TRAVIS_OS_NAME: osx
@ -78,7 +74,6 @@ jobs:
build-ios: build-ios:
name: build-ios name: build-ios
if: "!contains(github.event.commits[0].message, '[skip ci]')"
runs-on: macos-latest runs-on: macos-latest
env: env:
TRAVIS_OS_NAME: osx TRAVIS_OS_NAME: osx

View File

@ -5,11 +5,10 @@ on: [push]
env: env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.) # Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
BUILD_TYPE: Release BUILD_TYPE: Release
TRAVIS_PULL_REQUEST: false
jobs: jobs:
build: 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 # 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 # well on Windows or Mac. You can convert this to a matrix build if you need
# cross-platform coverage. # cross-platform coverage.