-
Notifications
You must be signed in to change notification settings - Fork 50
77 lines (69 loc) · 1.56 KB
/
ldms-test-build.yaml
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
69
70
71
72
73
74
75
76
77
name: OVIS-4 build test compatible with ldms-test
on:
push:
branches:
- 'OVIS-4'
- main
- 'b[0-9]+.[0-9]+'
pull_request:
branches:
- 'OVIS-4'
- main
- 'b[0-9]+.[0-9]+'
jobs:
build:
runs-on: ubuntu-22.04
container:
image: ovishpc/ldms-dev
steps:
- name: build-sos
shell: bash
run: | # SOS prequisite
set -e
mkdir /sos-src
pushd /sos-src
git clone -b SOS-6 https://github.com/ovis-hpc/sos .
./autogen.sh
mkdir -p build
pushd build
../configure --prefix=/opt/ovis
make
make install
- uses: actions/checkout@v3
- run: sh autogen.sh
- name: build-ovis
shell: bash
run: |
git config --global --add safe.directory ${PWD}
mkdir -p build
PREFIX=/opt/ovis
OPTIONS=(
--prefix=${PREFIX}
--enable-python
--enable-etc
--enable-doc
--enable-doc-man
# tests
--enable-zaptest
--enable-ldms-test
--enable-test_sampler
--enable-list_sampler
--enable-record_sampler
# extra xprt
--enable-rdma
# auth
--enable-munge
# stores
--enable-sos
--with-sos=${PREFIX}
--enable-store-app
--with-kafka=yes
# samplers
--enable-tutorial-sampler
--enable-tutorial-store
--enable-app-sampler
--enable-papi
CFLAGS="-Wall -Werror -O0 -ggdb3"
)
./configure "${OPTIONS[@]}"
make