Skip to content
Snippets Groups Projects
Commit df4b5eb2 authored by Marek Vavruša's avatar Marek Vavruša
Browse files

ci: add -Werror to CFLAGS, added clang build target

parent a60d0652
No related branches found
Tags v5.0.1
1 merge request!432ci: add -Werror to CFLAGS, added clang build target
......@@ -15,8 +15,8 @@ stages:
build:linux:amd64:
stage: build
script:
- PREFIX=$(pwd)/.local make -k all
- PREFIX=$(pwd)/.local make install
- PREFIX=$(pwd)/.local make -k all CFLAGS=-Werror
- PREFIX=$(pwd)/.local make install CFLAGS=-Werror
artifacts:
untracked: true
tags:
......@@ -24,6 +24,16 @@ build:linux:amd64:
- linux
- amd64
build:clang:linux:amd64:
stage: build
script:
- CXX=clang++ CC=clang PREFIX=$(pwd)/.local make -k all CFLAGS=-Werror
- CXX=clang++ CC=clang PREFIX=$(pwd)/.local make install CFLAGS=-Werror
tags:
- docker
- linux
- amd64
lint:lua:
stage: test
dependencies: [] # do not download build artifacts
......
......@@ -69,3 +69,6 @@ RUN luarocks install luacov
# LuaJIT binary for stand-alone scripting
RUN apt-get install -y -qqq luajit
# clang for kresd CI
RUN apt-get install -y -qqq clang
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment