-
Notifications
You must be signed in to change notification settings - Fork 700
/
.travis.yml
44 lines (38 loc) · 904 Bytes
/
.travis.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
# SPDX-FileCopyrightText: 2022 Andrea Pappacoda <[email protected]>
#
# SPDX-License-Identifier: Apache-2.0
language: cpp
os: linux
# jammy is currently only available on amd64
#dist: jammy
#arch: [ amd64, arm64, ppc64le, s390x ]
# Use an explicit job list until jammy is supported on all archs
jobs:
include:
- dist: jammy
arch: amd64
- dist: focal
arch: arm64
- dist: focal
arch: ppc64le
- dist: focal
arch: s390x
branches:
only: master
addons:
apt:
update: true
packages:
- meson
- pkg-config
- cmake
- rapidjson-dev
- libssl-dev
- '"?name(libhowardhinnant-date-dev)"'
- '"?name(libgmock-dev) (?version([1-9]\.[1-9][1-9]) | ?version([1-9]\.[2-9][0-9]))"'
- '"?name(libcpp-httplib-dev)"'
- libcurl4-openssl-dev
script:
- meson setup build -DPISTACHE_BUILD_TESTS=true
- ninja -C build -j2
- meson test -C build --verbose