Skip to content

Commit

Permalink
update cygwin on CI before building (splunk#93)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeking3 authored and JeffGarland committed Dec 3, 2018
1 parent 81d6086 commit c18805c
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,9 @@ environment:
B2_ADDRESS_MODEL: address-model=32
CXXSTD: 03,11
# https://github.com/boostorg/test/issues/144
DEFINES: define=_POSIX_C_SOURCE=200112L
DEFINES: define=_POSIX_C_SOURCE=200112L define=_GLIBCXX_USE_CXX11_ABI=1
THREADING: threadapi=pthread
CYGWIN_UPDATE: true
TOOLSET: gcc

- FLAVOR: cygwin (64-bit)
Expand All @@ -88,8 +89,9 @@ environment:
B2_ADDRESS_MODEL: address-model=64
CXXSTD: 11,17
# https://github.com/boostorg/test/issues/144
DEFINES: define=_POSIX_C_SOURCE=200112L define=__USE_ISOC99
DEFINES: define=_POSIX_C_SOURCE=200112L define=__USE_ISOC99 define=_GLIBCXX_USE_CXX11_ABI=1
THREADING: threadapi=pthread
CYGWIN_UPDATE: true
TOOLSET: gcc

- FLAVOR: mingw32
Expand Down Expand Up @@ -118,6 +120,7 @@ build: off
test_script:
- set SELF=%APPVEYOR_PROJECT_NAME:-=_%
- PATH=%ADDPATH%%PATH%
- IF DEFINED CYGWIN_UPDATE (call libs\%SELF%\ci\appveyor\cygwin-update.bat)
# The definition of TOOLCXX omits CXXSTD= if it was not defined above
- IF NOT DEFINED CXXSTD (SET TOOLCXX=toolset=%TOOLSET%) ELSE (SET TOOLCXX=toolset=%TOOLSET% cxxstd=%CXXSTD%)
# Echo the complete build command to the build log
Expand Down

0 comments on commit c18805c

Please sign in to comment.