forked from intel/pcm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitlab-ci.yml
68 lines (60 loc) · 1.54 KB
/
.gitlab-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
before_script:
- apt-get update -qq && apt-get install -qq -y make g++-4.8 g++
build_linux:gcc48:
image: "ubuntu:xenial"
stage: build
script:
- rm -f /usr/bin/g++
- ln -s /usr/bin/g++-4.8 /usr/bin/g++
- g++ --version
- make -j
build_linux:gcc5:
image: "ubuntu:xenial"
stage: build
script:
- g++ --version
- make -j
build_linux:gcc10:
image: "ubuntu:groovy"
stage: build
before_script:
- apt-get update -qq && apt-get install -qq -y make g++
script:
- g++ --version
- make -j
build_linux:clang_scan:
image: "ubuntu:latest"
stage: build
before_script:
- apt-get update -qq && apt-get install -qq -y make clang clang-tools perl g++
script:
- scan-build --exclude simdjson --status-bugs make -j
build_windows:
stage: build
before_script:
- 'call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat"'
script:
- 'msbuild pcm-all.sln /p:Configuration=Release;Platform=x64 /t:Clean,Build /m'
tags:
- windows
cppcheck:
image: "ubuntu:latest"
stage: build
before_script:
- apt-get update -qq && apt-get install -qq -y cppcheck
script:
- sh cppcheck.sh . `getconf _NPROCESSORS_ONLN`
build_linux:gcc9:
image: "ubuntu:focal"
stage: build
before_script:
- apt-get update -qq && apt-get install -qq -y make g++
script:
- g++ --version
- make -j
build_linux:gcc7:
image: "ubuntu:bionic"
stage: build
script:
- g++ --version
- make -j