changeset 32774:7c33fb8098d8 stable

GitHub-CI (macos): Set C++ standard for all configurations. * .github/workflows/make.yaml (macos): Apple Clang 14 on the macOS runners defaults to C++98. Use C++11 on all runners.
author Markus Mützel <markus.muetzel@gmx.de>
date Thu, 18 Jan 2024 18:02:42 +0100
parents c90430629c4d
children 0983439079bc
files .github/workflows/make.yaml
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/.github/workflows/make.yaml	Thu Jan 18 17:41:07 2024 +0100
+++ b/.github/workflows/make.yaml	Thu Jan 18 18:02:42 2024 +0100
@@ -612,7 +612,7 @@
       - name: test stand-alone executable
         run: |
           cd examples/code
-          PATH="/Users/runner/usr/bin:$PATH" CXX="${CXX} ${{ matrix.cxx-compiler-flags }}" \
+          PATH="/Users/runner/usr/bin:$PATH" CXX="${CXX} -std=gnu++11" \
             mkoctfile --link-stand-alone embedded.cc -o embedded
           ./embedded