Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build tweaks #138

Merged
merged 4 commits into from
Feb 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading