Skip to content

Commit 63ed454

Browse files
committed
Amend GitHub build test Workflow to enable C++11 on macOS (needed for OpenEXR 3)
1 parent 56dbaf4 commit 63ed454

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/test_build_quick.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,12 @@ jobs:
2222
os: ubuntu-latest
2323
c-compiler: gcc
2424
cxx-compiler: g++
25+
configure-options: ''
2526
- os-name: 'MacOS'
2627
os: macos-latest
2728
c-compiler: clang
2829
cxx-compiler: clang++
30+
configure-options: 'CXXFLAGS="-std=c++11"' # OpenEXR 3 needs C++11
2931

3032
steps:
3133

@@ -51,6 +53,7 @@ jobs:
5153
with:
5254
c-compiler: ${{ matrix.c-compiler }}
5355
cxx-compiler: ${{ matrix.cxx-compiler }}
56+
configure-options: ${{ matrix.configure-options }}
5457
- name: 'Sanity-Check Working Tree'
5558
uses: POV-Ray/povray/.github/actions/git_check_repo@gh-actions-v1
5659

0 commit comments

Comments
 (0)