Skip to content

Merge pull request #60 from indexdata/fix-stdlib-import #78

Merge pull request #60 from indexdata/fix-stdlib-import

Merge pull request #60 from indexdata/fix-stdlib-import #78

# Build idzebra
name: Build idzebra
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1
- name: clone yaz
uses: actions/checkout@v4
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 inkscape
libexpat1-dev libbz2-dev tcl-dev zlib1g-dev
pkg-config libxslt1-dev libgnutls28-dev libicu-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 idzebra
run: ./buildconf.sh
- name: Run configure for idzebra
run: >
./configure --with-yaz=yaz --disable-shared --enable-static
- name: Run make check for idzebra
run: make -j4 check
- name: Run make dist for idzebra
run: make dist