2018-09-22 23:25:14 +00:00
|
|
|
image: ubuntu:18.04
|
2018-09-22 23:08:49 +00:00
|
|
|
|
|
|
|
build:
|
|
|
|
stage: build
|
2018-09-22 23:25:14 +00:00
|
|
|
script:
|
2018-09-22 23:41:28 +00:00
|
|
|
- apt-get update -qq && apt-get install -y -qq git make clang libc++-dev libc++1 libcurl4-openssl-dev libc++abi-dev
|
2018-09-22 23:21:46 +00:00
|
|
|
- CC=clang CXX=clang++ make
|
2018-09-22 23:08:49 +00:00
|
|
|
# depending on your build setup it's most likely a good idea to cache outputs to reduce the build time
|
|
|
|
# cache:
|
|
|
|
# paths:
|
|
|
|
# - "*.o"
|
2018-09-23 08:59:08 +00:00
|
|
|
test:
|
|
|
|
stage: test
|
|
|
|
script:
|
|
|
|
- ./test.sh
|