-
Notifications
You must be signed in to change notification settings - Fork 135
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
CI: add multi-distro build (using docker) #677
base: master
Are you sure you want to change the base?
Conversation
27cd885
to
2e67976
Compare
327f047
to
37dbb9a
Compare
This is not a distro, but FreeBSD would be great. |
I looked into it but right now it's a bit convoluted, there's this which could work though: https://github.com/marketplace/actions/freebsd-vm |
Cirrus-CI has a good FreeBSD support that is free AFAIK for open-source projects |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't know how complete
(@fermino) you want these builds to be?
I noticed that
- most distros (except debian & ubuntu) don't build the manpage because of
Unable to find sphinx binary in PATH
- some warnings for scons (except Debian & Ubuntu):
scons: Reading SConscript files ... /build/SConstruct:831: SyntaxWarning: invalid escape sequence '\.' 'sed -i "s/2\.0\.0/{v}/g" po/rmlint.pot', /build/SConstruct:832: SyntaxWarning: invalid escape sequence '\(' 'sed -i "s/^Version:\(\s*\)2\.0\.0/Version:\\1{v}/g" pkg/fedora/rmlint.spec'
- Use
apt-get
instead ofapt
in theDebian
section - this will not trigger the apt warning in the build - Some complain about: '/bin/sh: line 1: git: command not found
Checking for git revision... Unable to find git revision.`
And, obviously, these warning/errors are not picked up as such.
@RayOei I mostly wanted to make sure that things are building properly as some things have been breaking in arch and gentoo (and IIRC there is some soon to be packaging issues in debian). Thanks for looking into those messages, I will fix what I can and get back with whatever's left :) |
Add various distros
37dbb9a
to
e1b27b6
Compare
Something useful would be to build on macOS (intel, arm) and also on 32bit architectures. |
This PR adds a github-actions job that builds rmlint on several distros, mostly to check compatibility against toolchain and libraries (and avoid stalling issues like #605).
If there is any other distro that could be added please let me know.