diff options
author | Marco Poletti <poletti.marco@gmail.com> | 2022-11-14 15:19:06 -0800 |
---|---|---|
committer | Marco Poletti <poletti.marco@gmail.com> | 2022-11-14 15:23:01 -0800 |
commit | 7f47ebbdbc77643fdacbb973a53ac5c52c3132e0 (patch) | |
tree | da6794717da2ded24e55cbce0f5011df71586f6a | |
parent | 075c1ab3a7d684180176706143d42ddc7bb61f6b (diff) | |
download | google-fruit-7f47ebbdbc77643fdacbb973a53ac5c52c3132e0.tar.gz |
Try different compiler versions for OS X CI tests.
clang-15 doesn't work, boost is failing to build with "error: builtin __has_nothrow_assign is deprecated; use __is_nothrow_assignable instead [-Werror,-Wdeprecated-builtins]".
clang-8 works on Mac OS 12 but not in Mac OS 10 and 11. Switching to clang-9 in those.
gcc doesn't work on Mac OS 13 ATM due to https://github.com/iains/gcc-12-branch/issues/6, so I disabled it there (relying on the CI tests with Mac OS 12 instead).
-rw-r--r-- | .github/workflows/test-on-osx.yml | 35 |
1 files changed, 18 insertions, 17 deletions
diff --git a/.github/workflows/test-on-osx.yml b/.github/workflows/test-on-osx.yml index 954d29b..9f487e7 100644 --- a/.github/workflows/test-on-osx.yml +++ b/.github/workflows/test-on-osx.yml @@ -36,15 +36,16 @@ jobs: - {compiler: clang-default, stl: libc++, test: ReleasePlainNoPchNoClangTidy} - {compiler: clang-default, stl: libc++, test: DebugAsanUbsanNoPchNoClangTidy} - {compiler: clang-default, stl: libc++, test: DebugPlainNoPchNoClangTidy} - - {compiler: clang-15.0, stl: libc++, test: ReleasePlainNoPchNoClangTidy} - - {compiler: clang-15.0, stl: libc++, test: DebugAsanUbsanNoPchNoClangTidy} - - {compiler: clang-15.0, stl: libc++, test: DebugPlainNoPchNoClangTidy} + - {compiler: clang-14.0, stl: libc++, test: ReleasePlainNoPchNoClangTidy} + - {compiler: clang-14.0, stl: libc++, test: DebugAsanUbsanNoPchNoClangTidy} + - {compiler: clang-14.0, stl: libc++, test: DebugPlainNoPchNoClangTidy} - {compiler: clang-8.0, stl: libc++, test: ReleasePlainNoClangTidy} - {compiler: clang-8.0, stl: libc++, test: DebugAsanUbsanNoClangTidy} - - {compiler: gcc-11, test: ReleasePlainNoPchNoClangTidy} - - {compiler: gcc-11, test: DebugPlainNoPchNoClangTidy} - - {compiler: gcc-9, test: ReleasePlainNoClangTidy} - - {compiler: gcc-9, test: DebugPlainNoClangTidy} + # Disabled due to https://github.com/iains/gcc-12-branch/issues/6 + # - {compiler: gcc-11, test: ReleasePlainNoPchNoClangTidy} + # - {compiler: gcc-11, test: DebugPlainNoPchNoClangTidy} + # - {compiler: gcc-9, test: ReleasePlainNoClangTidy} + # - {compiler: gcc-9, test: DebugPlainNoClangTidy} macOS-11: runs-on: macos-11 env: @@ -67,11 +68,11 @@ jobs: - {compiler: clang-default, stl: libc++, test: ReleasePlainNoPchNoClangTidy} - {compiler: clang-default, stl: libc++, test: DebugAsanUbsanNoPchNoClangTidy} - {compiler: clang-default, stl: libc++, test: DebugPlainNoPchNoClangTidy} - - {compiler: clang-15.0, stl: libc++, test: ReleasePlainNoPchNoClangTidy} - - {compiler: clang-15.0, stl: libc++, test: DebugAsanUbsanNoPchNoClangTidy} - - {compiler: clang-15.0, stl: libc++, test: DebugPlainNoPchNoClangTidy} - - {compiler: clang-8.0, stl: libc++, test: ReleasePlainNoClangTidy} - - {compiler: clang-8.0, stl: libc++, test: DebugAsanUbsanNoClangTidy} + - {compiler: clang-14.0, stl: libc++, test: ReleasePlainNoPchNoClangTidy} + - {compiler: clang-14.0, stl: libc++, test: DebugAsanUbsanNoPchNoClangTidy} + - {compiler: clang-14.0, stl: libc++, test: DebugPlainNoPchNoClangTidy} + - {compiler: clang-9.0, stl: libc++, test: ReleasePlainNoClangTidy} + - {compiler: clang-9.0, stl: libc++, test: DebugAsanUbsanNoClangTidy} - {compiler: gcc-11, test: ReleasePlainNoPchNoClangTidy} - {compiler: gcc-11, test: DebugPlainNoPchNoClangTidy} - {compiler: gcc-9, test: ReleasePlainNoClangTidy} @@ -98,11 +99,11 @@ jobs: - {compiler: clang-default, stl: libc++, test: ReleasePlainNoPchNoClangTidy} - {compiler: clang-default, stl: libc++, test: DebugAsanUbsanNoPchNoClangTidy} - {compiler: clang-default, stl: libc++, test: DebugPlainNoPchNoClangTidy} - - {compiler: clang-15.0, stl: libc++, test: ReleasePlainNoPchNoClangTidy} - - {compiler: clang-15.0, stl: libc++, test: DebugAsanUbsanNoPchNoClangTidy} - - {compiler: clang-15.0, stl: libc++, test: DebugPlainNoPchNoClangTidy} - - {compiler: clang-8.0, stl: libc++, test: ReleasePlainNoClangTidy} - - {compiler: clang-8.0, stl: libc++, test: DebugAsanUbsanNoClangTidy} + - {compiler: clang-14.0, stl: libc++, test: ReleasePlainNoPchNoClangTidy} + - {compiler: clang-14.0, stl: libc++, test: DebugAsanUbsanNoPchNoClangTidy} + - {compiler: clang-14.0, stl: libc++, test: DebugPlainNoPchNoClangTidy} + - {compiler: clang-9.0, stl: libc++, test: ReleasePlainNoClangTidy} + - {compiler: clang-9.0, stl: libc++, test: DebugAsanUbsanNoClangTidy} - {compiler: gcc-11, test: ReleasePlainNoPchNoClangTidy} - {compiler: gcc-11, test: DebugPlainNoPchNoClangTidy} - {compiler: gcc-9, test: ReleasePlainNoClangTidy} |