Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Clang 17 on MacOS to CI #136

Merged
merged 2 commits into from
Nov 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,22 @@ jobs:
strategy:
matrix:
build_type: [Debug, Release]
cxx: [g++-12, g++-13, /usr/local/opt/llvm/bin/clang++]
cxx: [g++-12, g++-13,
/usr/local/opt/llvm@16/bin/clang++,
/usr/local/opt/llvm@17/bin/clang++]
include:
- cxx: g++-12
install: brew install gcc@12 ninja
- cxx: g++-13
install: |
brew update
brew install gcc@13 ninja
- cxx: /usr/local/opt/llvm/bin/clang++
- cxx: /usr/local/opt/llvm@16/bin/clang++
install: |
brew install llvm@16 ninja
- cxx: /usr/local/opt/llvm@17/bin/clang++
install: |
brew install llvm@17 ninja

steps:
- uses: actions/checkout@v3
Expand Down
4 changes: 2 additions & 2 deletions example/calendar.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ constexpr auto max_weeks_in_month = 6;
constexpr auto col_sep = " ";
constexpr auto row_sep = ' ';

// Workaround: libc++16 does not support C++20 chrono::time_point::operator++
#if defined _LIBCPP_VERSION and _LIBCPP_VERSION < 170000
// Workaround: libc++17 does not support C++20 chrono::time_point::operator++
#if defined _LIBCPP_VERSION and _LIBCPP_VERSION < 180000
namespace std::chrono {
sys_days& operator++(sys_days& d) {
return d += days{1};
Expand Down
Loading