-
Notifications
You must be signed in to change notification settings - Fork 530
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 OpenBSD build tests for staged commits #1964
Conversation
metaauto | ||
|
||
mkdir $HOME/bin | ||
ln -s /usr/local/bin/ggrep $HOME/bin/grep |
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.
There are a bunch of GNUisms in our build chain
run: | | ||
export MAKE=gmake | ||
export pjobs="-j`gnproc`" | ||
export AUTOMAKE_VERSION=1.16 |
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.
OpenBSD support for multi-version automake is complicated
export amver=${AUTOMAKE_VERSION} | ||
export ACLOCAL_AUTOMAKE_DIR="/usr/local/share/aclocal-${AUTOMAKE_VERSION}" | ||
export ACLOCAL_PATH="/usr/local/share/aclocal:/usr/local/share/aclocal-${AUTOMAKE_VERSION}" | ||
export AUTOCONF_VERSION=2.72 |
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.
autoconf, too
export ltver=2.4.2 | ||
export CFLAGS='-Wno-compound-token-split-by-macro' | ||
export LDFLAGS="-L/usr/local/lib" | ||
export PATH="$HOME/bin:$PATH" |
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.
we need this to shadow the system 'grep' command
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.
Thank you for moving these tests to GitHub. I have only one blocking change request.
export pjobs="-j`gnproc`" | ||
export AUTOMAKE_VERSION=1.16 | ||
export amver=${AUTOMAKE_VERSION} | ||
export ACLOCAL_AUTOMAKE_DIR="/usr/local/share/aclocal-${AUTOMAKE_VERSION}" |
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.
Is there a similar hack that can avoid the following warnings?
aclocal-1.16: warning: couldn't open directory '/usr/bin/../share/aclocal': No such file or directory
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.
Not that I know of. OpenBSD is rough around the edges in these areas
Co-authored-by: Alex Rousskov <rousskov@measurement-factory.com>
Co-authored-by: Alex Rousskov <rousskov@measurement-factory.com>
Use a GitHub-hosted VM to create OpenBSD test environment. We have not enabled ccache optimization for OpenBSD tests because we do not know how to copy updated ccache files from VM back into runner.
Use a GitHub-hosted VM to create OpenBSD test environment. Requires GitHub repository configuration that permits the use of `vmactions/openbsd-vm@v1` Action. We have not enabled ccache optimization for OpenBSD tests because we do not know how to copy updated ccache files from VM back into runner.
GitHub reported "startup failure" for the staged commit c7e0a60. AFAICT, GitHub provided no failure details and probably did not report that odd failure to agents monitoring repository state (e.g., Anubis). Thus, this PR got stuck waiting for staging tests that are not running. I would expect a staged test to fail because our GitHub repository configuration did not allow |
Use a GitHub-hosted VM to create OpenBSD test environment. Requires
GitHub repository configuration that permits the use of
vmactions/openbsd-vm@v1
Action.We have not enabled ccache optimization for OpenBSD tests because we
do not know how to copy updated ccache files from VM back into runner.