File tree Expand file tree Collapse file tree 6 files changed +23
-9
lines changed Expand file tree Collapse file tree 6 files changed +23
-9
lines changed Original file line number Diff line number Diff line change @@ -219,6 +219,13 @@ jobs:
219219 c23 : True
220220 opt : all
221221 examples : False
222+ - name : clang-21
223+ shell : ci_clang21
224+ darwin : True
225+ c17 : True
226+ c23 : True
227+ opt : all
228+ examples : False
222229 # CPU flags are not correctly passed to the zig assembler
223230 # https://github.com/ziglang/zig/issues/23576
224231 # We therefore only test the C backend
Original file line number Diff line number Diff line change 2828 - ci_valgrind-varlat_clang18
2929 - ci_valgrind-varlat_clang19
3030 - ci_valgrind-varlat_clang20
31+ - ci_valgrind-varlat_clang21
3132 - ci_valgrind-varlat_gcc48
3233 - ci_valgrind-varlat_gcc49
3334 - ci_valgrind-varlat_gcc7
6465 valgrind_flags : --variable-latency-errors=yes
6566 - name : Build and run test (-Ofast)
6667 # -Ofast got deprecated in clang19; -O3 -ffast-math should be used instead
67- if : ${{ matrix.nix-shell != 'ci_valgrind-varlat_clang19' && matrix.nix-shell != 'ci_valgrind-varlat_clang20' }}
68+ if : ${{ matrix.nix-shell != 'ci_valgrind-varlat_clang19' && matrix.nix-shell != 'ci_valgrind-varlat_clang20' && matrix.nix-shell != 'ci_valgrind-varlat_clang21' }}
6869 uses : ./.github/actions/ct-test
6970 with :
7071 cflags : -Ofast -DMLD_CONFIG_KEYGEN_PCT
Original file line number Diff line number Diff line change @@ -88,12 +88,15 @@ jobs:
8888 fail-fast : false
8989 matrix :
9090 target :
91+ # nixpkgs requires 2.18 since August 2025, see
92+ # https://github.com/NixOS/nixpkgs/pull/428076
93+ # TODO: Re-enable tests on Ubuntu 22 once nix has been updated to >= 2.18
94+ # - runner: ubuntu-22.04
95+ # container:
96+ # install: 'apt'
9197 - runner : ubuntu-latest
92- container : nixos/nix:2.6.1
98+ container : nixos/nix:2.18.0
9399 install : ' native'
94- - runner : ubuntu-22.04
95- container :
96- install : ' apt'
97100 - runner : ubuntu-24.04
98101 container :
99102 install : ' apt'
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ any of the open issues. Here are some things to get you started.
99
1010We specify the development environment for mldsa-native using ` nix ` . If you want to help develop mldsa-native, please
1111use ` nix ` . We recommend using the latest Nix version provided by the [ nix installer
12- script] ( https://nixos.org/download/ ) , but we currently support all Nix versions >= 2.6 .
12+ script] ( https://nixos.org/download/ ) , but we currently support all Nix versions >= 2.18 .
1313
1414All the development and build dependencies are specified in [ flake.nix] ( flake.nix ) . To execute a bash shell, run
1515``` bash
Original file line number Diff line number Diff line change 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 } ;
106107 devShells . ci_clang18 = util . mkShellWithCC' pkgs . clang_18 ;
107108 devShells . ci_clang19 = util . mkShellWithCC' pkgs . clang_19 ;
108109 devShells . ci_clang20 = util . mkShellWithCC' pkgs . clang_20 ;
110+ devShells . ci_clang21 = util . mkShellWithCC' pkgs . clang_21 ;
109111
110112 devShells . ci_zig0_12 = util . mkShellWithCC' ( zigWrapCC pkgs . zig_0_12 ) ;
111113 devShells . ci_zig0_13 = util . mkShellWithCC' ( zigWrapCC pkgs . zig_0_13 ) ;
128130 devShells . ci_valgrind-varlat_clang18 = util . mkShellWithCC_valgrind' pkgs . clang_18 ;
129131 devShells . ci_valgrind-varlat_clang19 = util . mkShellWithCC_valgrind' pkgs . clang_19 ;
130132 devShells . ci_valgrind-varlat_clang20 = util . mkShellWithCC_valgrind' pkgs . clang_20 ;
133+ devShells . ci_valgrind-varlat_clang21 = util . mkShellWithCC_valgrind' pkgs . clang_21 ;
131134 devShells . ci_valgrind-varlat_gcc48 = util . mkShellWithCC_valgrind' pkgs . gcc48 ;
132135 devShells . ci_valgrind-varlat_gcc49 = util . mkShellWithCC_valgrind' pkgs . gcc49 ;
133136 devShells . ci_valgrind-varlat_gcc7 = util . mkShellWithCC_valgrind' pkgs . gcc7 ;
You can’t perform that action at this time.
0 commit comments