Skip to content

Commit

Permalink
Build tweaks (#138)
Browse files Browse the repository at this point in the history
* Add asciidoc to dependencies so man page building is tested on all builds
  • Loading branch information
hdholm authored Feb 5, 2024
1 parent 7678db5 commit 05ac375
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
mkdir -p build && cd build
export ninja=$(command -v ninja)
[ -z "${ninja}" ] && export ninja=$(command -v ninja-build)
meson .. || cat meson-logs/meson-log.txt >&2
meson setup .. || cat meson-logs/meson-log.txt >&2
${ninja}
- name: Run tests
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
---
name: coverage

on: [push, pull_request]
on:
push:
paths-ignore:
- '**.md'
pull_request:
paths-ignore:
- '**.md'

jobs:
build:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/install-dependencies
Original file line number Diff line number Diff line change
Expand Up @@ -6,24 +6,24 @@ debian:*|ubuntu:*)
apt clean
apt update
apt -y install gcc meson pkg-config libjose-dev jose libhttp-parser-dev \
systemd gcovr curl socat iproute2
systemd gcovr curl socat iproute2 asciidoc
;;

*fedora:*)
echo 'max_parallel_downloads=10' >> /etc/dnf/dnf.conf
dnf -y clean all
dnf -y --setopt=deltarpm=0 update
dnf -y install gcc meson pkgconfig libjose-devel jose llhttp-devel \
systemd gcovr curl socat iproute
systemd gcovr curl socat iproute asciidoc
;;

centos:*)
centos:7)
yum -y clean all
yum -y --setopt=deltarpm=0 update
yum install -y yum-utils epel-release
yum config-manager -y --set-enabled PowerTools \
|| yum config-manager -y --set-enabled powertools || :
yum -y install meson socat iproute
yum -y install meson socat iproute asciidoc
yum-builddep -y tang
;;

Expand Down

0 comments on commit 05ac375

Please sign in to comment.