-
Notifications
You must be signed in to change notification settings - Fork 5
40 lines (40 loc) · 1.17 KB
/
build-pazpar2.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
# Build pazpar2
name: Build pazpar2
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 1
- name: clone yaz
uses: actions/checkout@v3
with:
repository: indexdata/yaz
path: yaz
ref: master
- name: Update packages
run: sudo apt update
- name: Install required and optional dependencies
run: >
sudo apt install autoconf automake libtool gcc make bison
tclsh xsltproc docbook docbook-xml docbook-xsl
pkg-config libxslt1-dev libgnutls28-dev libicu-dev
libhiredis-dev libmemcached-dev
- name: Run buildconf for YAZ
run: cd yaz && ./buildconf.sh
- name: Run configure for YAZ
run: >
cd yaz && ./configure --disable-shared --enable-static
- name: Run make for YAZ
run: cd yaz && make -j4
- name: Run buildconf for pazpar2
run: ./buildconf.sh
- name: Run configure for pazpar2
run: >
./configure --with-yaz=yaz --disable-shared --enable-static
- name: Run make check for pazpar2
run: YAZ_ZTEST=`pwd`/yaz/ztest/yaz-ztest make -j4 check
- name: Run make dist for pazpar2
run: make dist