Skip to content

Commit

Permalink
added ubuntu-compiler combinations
Browse files Browse the repository at this point in the history
  • Loading branch information
panchaBhuta committed Sep 14, 2024
1 parent 17fcfa8 commit 9dd6396
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 14 deletions.
42 changes: 39 additions & 3 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,45 @@ jobs:
# clang++-13 and clang++-14 ubuntu-latest runners have an incompatible combination of clang and libstdc++
# refer https://github.com/actions/runner-images/issues/8659
compiler: [ default, clang++ ] # g++-12, g++-13, clang++-15 ]
#include:
# - os: ubuntu-20.04
# compiler : clang++-12 ::: error: no member named 'year_month_day' in namespace 'std::chrono'
include:
- os: ubuntu-24.04
compiler : g++-14
#- os: ubuntu-24.04
# compiler : g++-13 default
- os: ubuntu-24.04
compiler : g++-12
#- os: ubuntu-24.04
# compiler : clang++-18 clang++
- os: ubuntu-24.04
compiler : clang++-17
- os: ubuntu-24.04
compiler : clang++-16
- os: ubuntu-22.04
compiler : g++-13
- os: ubuntu-22.04
compiler : g++-12
#- os: ubuntu-22.04
# compiler : g++-11 default
- os: ubuntu-22.04
compiler : g++-10
- os: ubuntu-22.04
compiler : clang++-15
#- os: ubuntu-22.04
# compiler : clang++-14 clang++
- os: ubuntu-22.04
compiler : clang++-13
- os: ubuntu-20.04
compiler : g++-10
#- os: ubuntu-20.04
# compiler : g++-9 default
- os: ubuntu-20.04
compiler : clang++-12
#::: error: no member named 'year_month_day' in namespace 'std::chrono'
#- os: ubuntu-20.04
# compiler : clang++-11 clang++
#::: error: no member named 'year_month_day' in namespace 'std::chrono'
- os: ubuntu-20.04
compiler : clang++-10
runs-on: ${{matrix.os}}
steps:
- name: Checkout Repo
Expand Down
16 changes: 9 additions & 7 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,20 +34,22 @@ jobs:
# https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources (os-labels : macos-12)
# https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#preinstalled-software
# os: [ macos-11, macos-12 ] compiles with 'AppleClang-14' which is not available in macos-11
os: [ macos-12, macos-13, macos-14 ] # macos-latest == macos-13
os: [ macos-12, macos-13, macos-14 ] # macos-latest == macos-14
# NOTE : macos-14 executes arm64 (instead of x64_64), which causes FLOATING POINT TESTS to FAIL
# https://github.com/actions/runner-images/blob/main/images/macos/macos-13-Readme.md#language-and-runtime
# https://github.com/actions/runner-images/blob/main/images/macos/macos-12-Readme.md#language-and-runtime
# https://github.com/actions/runner-images/blob/main/images/macos/macos-11-Readme.md#language-and-runtime
# clang++ == 'AppleClang-14'
# default : [ macos-11 -> AppleClang-13 ,
# macos-12 -> AppleClang-14 ,
# macos-13 -> AppleClang-15 ]
# macos-13 -> AppleClang-15 ,
# macos-14 -> AppleClang-15 ]
compiler: [ default, g++-12, g++-13, g++-14 ]
exclude:
- os: macos-13 # was working previously, but now gives compilation-error
compiler : g++-12 # error-> ld: Assertion failed: (resultIndex < sectData.atoms.size()), function findAtom, file Relocations.cpp, line 1336.
- os: macos-13 # was working previously, but now gives compilation-error
compiler : g++-13 # error-> ld: Assertion failed: (resultIndex < sectData.atoms.size()), function findAtom, file Relocations.cpp, line 1336.
#exclude:
# - os: macos-13 # was working previously, but now gives compilation-error
# compiler : g++-12 # error-> ld: Assertion failed: (resultIndex < sectData.atoms.size()), function findAtom, file Relocations.cpp, line 1336.
# - os: macos-13 # was working previously, but now gives compilation-error
# compiler : g++-13 # error-> ld: Assertion failed: (resultIndex < sectData.atoms.size()), function findAtom, file Relocations.cpp, line 1336.
# NOTE : for macos-13 and g++{11,12,13} enable the run later when the 'ld' gets fixed. This problem was observed on 18-Mar-2024
runs-on: ${{matrix.os}}
steps:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
# https://github.com/actions/runner-images#available-images
# https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources (os-labels : windows-2022)
# https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#preinstalled-software
os: [windows-2022,windows-2019] # windows-latest == windows-2022
os: [windows-2022] # windows-latest == windows-2022
# https://cmake.org/cmake/help/latest/manual/cmake.1.html#cmdoption-cmake-T
# CMake compiler option doesn't work for Visual Studio project :: https://youtrack.jetbrains.com/issue/CPP-17314
# https://github.com/actions/runner-images/blob/main/images/win/Windows2022-Readme.md#tools
Expand All @@ -46,10 +46,10 @@ jobs:
# ClangCl == 'Clang 16'
toolset_compiler: [ { compiler: default, toolset: -1 },
{ compiler: ClangCl, toolset: 1 } ]
#include:
# - os: windows-2019
include:
- os: windows-2019
# ClangCl == 'Clang 12'
# toolset_compiler : { compiler: ClangCl, toolset: 1 }
toolset_compiler : { compiler: ClangCl, toolset: 1 }
runs-on: ${{matrix.os}}
steps:
- name: Add msbuild to PATH
Expand Down

0 comments on commit 9dd6396

Please sign in to comment.