Skip to content

Commit

Permalink
Add workflow check with clang c23
Browse files Browse the repository at this point in the history
  • Loading branch information
adamdickmeiss committed Jan 27, 2025
1 parent fb2cbc1 commit 2306b77
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 2 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/build-c23-yaz.yaml
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
2 changes: 1 addition & 1 deletion .github/workflows/build-complete-yaz.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Build yaz from source
# Build yaz from source with gcc default + dist check
name: Build complete YAZ
on: [push, pull_request]
jobs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-minimal-yaz.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Build minimal yaz from source
# Build minimal yaz from source with gcc c89
name: Build minimal YAZ
on: [pull_request]
jobs:
Expand Down

0 comments on commit 2306b77

Please sign in to comment.