Skip to content

Commit

Permalink
ci: re-enable AppleClang-16 and others
Browse files Browse the repository at this point in the history
  • Loading branch information
DNKpp committed Sep 30, 2024
1 parent b9fe78c commit 31d78c4
Showing 1 changed file with 125 additions and 6 deletions.
131 changes: 125 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,31 +22,143 @@ jobs:
cxx_standard: [20, 23]
format_backend: [std, fmt]
config:
#clang-18
- {
prefix: "Linux",
suffix: "/libc++",
os: ubuntu-latest,
container: { image: "ghcr.io/dnkpp/clang:18" },
compiler_name: "clang",
compiler_version: 18,
libcxx: true,
asan: true
}
- {
prefix: "Linux",
os: ubuntu-latest,
container: { image: "ghcr.io/dnkpp/clang:18" },
compiler_name: "clang",
compiler_version: 18,
libcxx: false,
asan: true
}
#clang-17
- {
prefix: "Linux",
suffix: "/libc++",
os: ubuntu-latest,
container: { image: "ghcr.io/dnkpp/clang:17" },
compiler_name: "clang",
compiler_version: 17,
libcxx: true,
asan: true
}
- {
prefix: "Linux",
os: ubuntu-latest,
container: { image: "ghcr.io/dnkpp/clang:17" },
compiler_name: "clang",
compiler_version: 17,
libcxx: false,
asan: true
}
#clang-16
- {
prefix: "Linux",
suffix: "/libc++",
os: ubuntu-latest,
container: { image: "ghcr.io/dnkpp/clang:16" },
compiler_name: "clang",
compiler_version: 16,
libcxx: true,
asan: true
}
- {
prefix: "Linux",
os: ubuntu-latest,
container: { image: "ghcr.io/dnkpp/clang:16" },
compiler_name: "clang",
compiler_version: 16,
libcxx: false,
asan: true
}
#gcc-14
- {
prefix: "Linux",
os: ubuntu-latest,
container: { image: "ghcr.io/dnkpp/gcc:14" },
compiler_name: "gcc",
compiler_version: 14,
libcxx: false,
asan: true
}
#gcc-13
- {
prefix: "Linux",
os: ubuntu-latest,
container: { image: "ghcr.io/dnkpp/gcc:13" },
compiler_name: "gcc",
compiler_version: 13,
libcxx: false,
asan: true
}
#gcc-12
- {
prefix: "Linux",
os: ubuntu-latest,
container: { image: "ghcr.io/dnkpp/gcc:12" },
compiler_name: "gcc",
compiler_version: 12,
libcxx: false,
asan: true
}
# msvc v143
- {
prefix: "Windows 2022",
os: windows-2022,
compiler_name: "msvc",
compiler_version: v143,
cmake_generator: Visual Studio 17 2022,
libcxx: false,
asan: false
}
# msvc ClangCl
- {
prefix: "Windows 2022",
os: windows-2022,
compiler_name: "msvc",
compiler_version: ClangCl,
cmake_generator: Visual Studio 17 2022,
libcxx: false,
asan: false
}

# AppleClang
# The ldflags_workaround are taken from the suggestions, when installing via brew
- {
prefix: "macOS",
os: macos-latest,
compiler_name: "AppleClang",
compiler_version: 17,
ldflags_workaround: -L/opt/homebrew/opt/llvm@17/lib/c++ -Wl,-rpath,/opt/homebrew/opt/llvm@17/lib/c++,
compiler_version: 18,
ldflags_workaround: -L/opt/homebrew/opt/llvm/lib/c++ -L/opt/homebrew/opt/llvm/lib -lunwind,
asan: true
}
- {
prefix: "macOS",
os: macos-latest,
compiler_name: "AppleClang",
compiler_version: 18,
ldflags_workaround: -L/opt/homebrew/opt/llvm/lib/c++ -L/opt/homebrew/opt/llvm/lib -lunwind,
compiler_version: 17,
ldflags_workaround: -L/opt/homebrew/opt/llvm@17/lib/c++ -Wl,-rpath,/opt/homebrew/opt/llvm@17/lib/c++,
asan: true
}
- {
prefix: "macOS",
os: macos-latest,
compiler_name: "AppleClang",
compiler_version: 19,
compiler_version: 16,
ldflags_workaround: -L/opt/homebrew/opt/llvm@16/lib/c++ -Wl,-rpath,/opt/homebrew/opt/llvm@16/lib/c++,
asan: true
}
}

exclude:
# both compilers do not support std's format header
Expand All @@ -59,6 +171,13 @@ jobs:
compiler_name: "gcc"
compiler_version: 12

# This compiler does work, but fails compiling something from boost::filesystem, which is indirectly required
# by the BoostAdapter-Test.
# Maybe, we can find a workaround for this in the future.
- config:
compiler_name: "AppleClang"
compiler_version: 16

steps:
- uses: actions/checkout@v4

Expand Down

0 comments on commit 31d78c4

Please sign in to comment.