-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitlab-ci.yml
More file actions
55 lines (49 loc) · 798 Bytes
/
.gitlab-ci.yml
File metadata and controls
55 lines (49 loc) · 798 Bytes
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
image: debian:latest
stages:
- setup
- build
- test
- check-format
- jalon1
before_script:
- apt-get update
- apt-get install -y git gcc make valgrind clang-format libreadline-dev
- git --version
- gcc --version
- make --version
- valgrind --version
- clang-format --version
setup_job:
stage: setup
script:
- echo "Setup completed"
build_job:
stage: build
script:
- make
artifacts:
paths:
- ./bin/
- ./obj/
only:
- branches
- merge_requests
test_job:
stage: test
script:
- make test
artifacts:
when: always
paths:
- ./bin/
- ./obj/
only:
- branches
- merge_requests
check_format_job:
stage: check-format
script:
- make check-format
only:
- branches
- merge_requests