Fix .gitlab-ci.yml
This commit is contained in:
parent
9fddbc5781
commit
090f4707af
@ -2,13 +2,13 @@ debian:
|
|||||||
image: debian:stable-slim
|
image: debian:stable-slim
|
||||||
before_script:
|
before_script:
|
||||||
- apt-get -qq update
|
- apt-get -qq update
|
||||||
- apt-get -qq install make clang
|
- apt-get -qq install make gcc
|
||||||
script:
|
script:
|
||||||
- make
|
- make
|
||||||
|
|
||||||
alpine:
|
alpine:
|
||||||
image: alpine:latest
|
image: alpine:latest
|
||||||
before_script:
|
before_script:
|
||||||
- apk add make clang linux-headers
|
- apk add alpine-sdk
|
||||||
script:
|
script:
|
||||||
- make
|
- make
|
||||||
|
2
Makefile
2
Makefile
@ -2,8 +2,6 @@ CPPFLAGS = -D_FORTIFY_SOURCE=2 -D_DEFAULT_SOURCE
|
|||||||
CFLAGS = $(CPPFLAGS) -std=c99 -pedantic -Wall -Wextra -Werror -Os -march=native -mtune=native -fPIE
|
CFLAGS = $(CPPFLAGS) -std=c99 -pedantic -Wall -Wextra -Werror -Os -march=native -mtune=native -fPIE
|
||||||
LDFLAGS = -Wl,-z,now,-z,relro,-s,-pie
|
LDFLAGS = -Wl,-z,now,-z,relro,-s,-pie
|
||||||
|
|
||||||
CC = clang
|
|
||||||
|
|
||||||
OBJS = obj/main.o
|
OBJS = obj/main.o
|
||||||
BIN = bin/stc
|
BIN = bin/stc
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user