Skip to content

Commit ad2cbde

Browse files
committed
Add clang 21 compiler tests to CI
Signed-off-by: Matthias J. Kannwischer <[email protected]>
1 parent d9dad03 commit ad2cbde

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@ jobs:
5252
- name: clang-20
5353
shell: ci_clang20
5454
darwin: True
55+
- name: clang-21
56+
shell: ci_clang21
57+
darwin: True
5558
# CPU flags are not correctly passed to the zig assembler
5659
# https://github.com/ziglang/zig/issues/23576
5760
# We therefore only test the C backend

flake.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@
5252
gcc48 = pkgs-2405.gcc48;
5353
gcc49 = pkgs-2405.gcc49;
5454
gcc7 = pkgs-2405.gcc7;
55+
clang_21 = pkgs-unstable.clang_21;
5556
})
5657
];
5758
};
@@ -115,6 +116,7 @@
115116
devShells.ci_clang18 = util.mkShellWithCC' pkgs.clang_18;
116117
devShells.ci_clang19 = util.mkShellWithCC' pkgs.clang_19;
117118
devShells.ci_clang20 = util.mkShellWithCC' pkgs.clang_20;
119+
devShells.ci_clang21 = util.mkShellWithCC' pkgs.clang_21;
118120

119121
devShells.ci_zig0_12 = util.mkShellWithCC' (zigWrapCC pkgs.zig_0_12);
120122
devShells.ci_zig0_13 = util.mkShellWithCC' (zigWrapCC pkgs.zig_0_13);

0 commit comments

Comments
 (0)