File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5252 with :
5353 upload-snapshots : true
5454 build_args : ' c("--no-manual","--compact-vignettes=gs+qpdf")'
55+
56+ clang-check :
57+ runs-on : ubuntu-latest
58+ name : ubuntu-latest (devel, clang-21)
59+
60+ env :
61+ GITHUB_PAT : ${{ secrets.GITHUB_TOKEN }}
62+ R_KEEP_PKG_SOURCE : yes
63+
64+ steps :
65+ - uses : actions/checkout@v6
66+
67+ - name : Install Clang 21
68+ run : |
69+ wget -qO- https://apt.llvm.org/llvm-snapshot.gpg.key | sudo tee /etc/apt/trusted.gpg.d/apt.llvm.org.asc
70+ sudo add-apt-repository "deb http://apt.llvm.org/noble/ llvm-toolchain-noble-21 main"
71+ sudo apt-get update
72+ sudo apt-get install -y clang-21
73+
74+ - uses : r-lib/actions/setup-pandoc@v2
75+
76+ - uses : r-lib/actions/setup-r@v2
77+ with :
78+ r-version : devel
79+ use-public-rspm : true
80+
81+ - name : Configure R to use Clang 21
82+ run : |
83+ mkdir -p ~/.R
84+ cat > ~/.R/Makevars <<EOF
85+ CC = clang-21
86+ CXX = clang++-21
87+ EOF
88+
89+ - uses : r-lib/actions/setup-r-dependencies@v2
90+ with :
91+ extra-packages : any::rcmdcheck
92+ needs : check
93+
94+ - uses : r-lib/actions/check-r-package@v2
95+ with :
96+ upload-snapshots : true
97+ build_args : ' c("--no-manual","--compact-vignettes=gs+qpdf")'
Original file line number Diff line number Diff line change @@ -41,6 +41,8 @@ class WebServer
4141{
4242 struct TokenGuard : crow::ILocalMiddleware
4343 {
44+ TokenGuard () = default ;
45+
4446 struct context
4547 {
4648 };
You can’t perform that action at this time.
0 commit comments