Skip to content

Commit

Permalink
[Test-macOS] Trying to restore testing of GCC 11, 12, and 13 on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
rikyoz committed Jun 29, 2024
1 parent 7007e9b commit 9f107b8
Showing 1 changed file with 23 additions and 2 deletions.
25 changes: 23 additions & 2 deletions .github/workflows/test_macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,34 @@ jobs:
matrix:
os: [macos-13, macos-14]
build_type: [Debug, Release]
c_compiler: [gcc-14, clang]
c_compiler: [gcc-11, gcc-12, gcc-13, gcc-14, clang]
arch: [x64, arm64]
bit7z_auto_format: [OFF, ON]
bit7z_regex_matching: [OFF, ON]
bit7z_link_libcpp: [OFF, ON]
include:
- c_compiler: gcc-11
cpp_compiler: g++-11
enable_sanitizers: OFF
- c_compiler: gcc-12
cpp_compiler: g++-12
enable_sanitizers: OFF
- c_compiler: gcc-13
cpp_compiler: g++-13
enable_sanitizers: OFF
- c_compiler: gcc-14
cpp_compiler: g++-14
enable_sanitizers: OFF
- c_compiler: clang
cpp_compiler: clang++
enable_sanitizers: ON
exclude:
- c_compiler: gcc-11
bit7z_link_libcpp: ON
- c_compiler: gcc-12
bit7z_link_libcpp: ON
- c_compiler: gcc-13
bit7z_link_libcpp: ON
- c_compiler: gcc-14
bit7z_link_libcpp: ON
- os: macos-14
Expand All @@ -57,11 +72,17 @@ jobs:
xcode-version: '15.3'

- name: Install XCode
if: ${{ contains(matrix.os, 'macos-13') }}
if: ${{ contains(matrix.os, 'macos-13') && contains(matrix.c_compiler, 'gcc-14')}}
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: '15.2'

- name: Install XCode
if: ${{ contains(matrix.os, 'macos-13') && ( contains(matrix.c_compiler, 'gcc-11') || contains(matrix.c_compiler, 'gcc-12') || contains(matrix.c_compiler, 'gcc-13') ) }}
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: '15.1'

- name: Install GCC 14
if: ${{ contains(matrix.c_compiler, 'gcc-14') }}
shell: bash
Expand Down

0 comments on commit 9f107b8

Please sign in to comment.