-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fb2cbc1
commit 2306b77
Showing
3 changed files
with
29 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# Build yaz from source with clang c23 | ||
name: Build complete YAZ | ||
on: [push, pull_request] | ||
jobs: | ||
build-complete: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 1 | ||
- name: Update packages | ||
run: sudo apt update | ||
- name: Install required and optional dependencies | ||
run: > | ||
sudo apt install autoconf automake libtool clang make bison | ||
tclsh xsltproc docbook docbook-xml docbook-xsl | ||
pkg-config libxslt1-dev libgnutls28-dev | ||
libreadline-dev libwrap0-dev libicu-dev | ||
libhiredis-dev libmemcached-dev | ||
- name: Run buildconf | ||
run: ./buildconf.sh | ||
- name: Run configure | ||
run: > | ||
CC=clang CFLAGS="-std=c23" ./configure --enable-tcpd --with-xslt --with-gnutls --with-icu | ||
--with-memcached --with-redis | ||
- name: Run Make check | ||
run: make -j4 check |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters