Trigger ci build by comment

This commit is contained in:
halx99 2020-10-27 18:07:55 +08:00
parent 09d1fffac7
commit 37fe00ea76
6 changed files with 8 additions and 14 deletions

View File

@ -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.

View File

@ -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.

View File

@ -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.

View File

@ -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.

View File

@ -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

View File

@ -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.