-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy path.gitlab-ci.yml
More file actions
51 lines (42 loc) · 763 Bytes
/
.gitlab-ci.yml
File metadata and controls
51 lines (42 loc) · 763 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
image: php:latest
before_script:
- export NO_INTERACTION=1
- apt-get -y update
- apt-get -y upgrade
- apt-get -y install autoconf build-essential gcc g++ valgrind
.php:
stage: build
except:
- HEAD
script:
- phpize
- ./configure --enable-bencode
- make -j$(nproc)
- chmod 600 ./.valgrindrc
- make test TESTS="-m"
artifacts:
name: "${CI_BUILD_NAME}_${CI_BUILD_REF_NAME}"
expire_in: 2 weeks
paths:
- modules/bencode.so
php84:
extends: .php
image: php:8.4
php83:
extends: .php
image: php:8.3
php82:
extends: .php
image: php:8.2
php81:
extends: .php
image: php:8.1
php80:
extends: .php
image: php:8.0
php74:
extends: .php
image: php:7.4
php73:
extends: .php
image: php:7.3