By default, build osx on push

This commit is contained in:
halx99 2020-10-27 00:42:35 -07:00
parent 5b8eaf1005
commit 1ca08664e8
2 changed files with 3 additions and 2 deletions

View File

@ -7,7 +7,7 @@ env:
TRAVIS_OS_NAME: osx
BUILD_TARGET: osx
# 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

View File

@ -5,10 +5,11 @@ 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]')"
if: "!contains(github.event.commits[0].message, '[skip ci]') && contains(github.event.commits[0].message, 'Merge pull request')"
# 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.