-
-
Notifications
You must be signed in to change notification settings - Fork 41
48 lines (41 loc) · 1.1 KB
/
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
name: CI
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
submodules: true
- name: Install build dependencies
run: >-
sudo apt-get update && sudo apt-get install -y build-essential cmake ninja-build pkg-config
ncurses-dev libreadline-dev libedit-dev
libgoogle-perftools-dev libunwind-dev
libgmp-dev
libssl-dev
unixodbc-dev
zlib1g-dev libarchive-dev
libossp-uuid-dev
libxext-dev libice-dev libjpeg-dev libxinerama-dev libxft-dev
libxpm-dev libxt-dev
libdb-dev
libpcre2-dev
libyaml-dev
default-jdk junit4
- name: Configure project
run: cmake -B build -G Ninja
- name: Build project
run: cmake --build build
- name: Run tests
run: cmake --build build --target test
env:
CTEST_PARALLEL_LEVEL: 4
CTEST_OUTPUT_ON_FAILURE: y