Add EXTRA definitions to the example builds

This commit is contained in:
Ralph Lange
2020-06-08 11:04:41 +02:00
parent 590e0e4d26
commit fd4bc0397a
2 changed files with 21 additions and 12 deletions

View File

@@ -50,18 +50,20 @@ script:
# Define build jobs
# Well-known variables to use
# SET source setup file
# EXTRA content will be added to make command line
# STATIC set to YES for static build (default: NO)
# TEST set to NO to skip running the tests (default: YES)
# VV set to make build scripts verbose (default: unset)
# SET source setup file
# ADD_MODULES extra modules (for a specific job)
# EXTRA content will be added to make command line
# BCFG build configuration (static/debug/static-debug;
# default: shared-optimized)
# TEST set to NO to skip running the tests (default: YES)
# VV set to make build scripts verbose (default: unset)
# Usually from setup files, but may be specified or overridden
# on a job line
# MODULES list of dependency modules
# BASE branch or release tag name of the EPICS Base to use
# <MODULE> branch or release tag for a specific module
# ... see README for setup file syntax description
# MODULES list of dependency modules
# BASE branch or release tag name of the EPICS Base to use
# <MODULE> branch or release tag for a specific module
# ... see README for setup file syntax description
jobs:
include:
@@ -96,7 +98,7 @@ jobs:
- env: SET=test01 BCFG=static-debug
dist: trusty
- env: SET=test01
- env: SET=test01 EXTRA="CMD_CXXFLAGS=-std=c++11"
- env: SET=test01 BCFG=static
- env: SET=test01 BCFG=debug
- env: SET=test01 BCFG=static-debug
@@ -107,8 +109,12 @@ jobs:
- env: SET=test01 BCFG=static-debug
compiler: clang
- env: SET=test01
os: osx
- os: osx
env:
- SET=test01
- EXTRA=CMD_CFLAGS="-mmacosx-version-min=10.7"
- EXTRA1=CMD_CXXFLAGS="-mmacosx-version-min=10.7 -std=c++11 -stdlib=libc++"
- EXTRA2=CMD_LDXFLAGS="-mmacosx-version-min=10.7 -std=c++11 -stdlib=libc++"
compiler: clang
- env: SET=test01 BCFG=debug