-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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 FreeBSD build with Cirrus CI #15332
Conversation
freebsd_instance: | ||
image_family: freebsd-14-0-snap | ||
prepare_script: | ||
- pkg install -y autoconf automake libtool gettext-runtime gmake ksh93 py39-packaging py39-cffi py39-sysctl |
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.
Let's use devel/py-packaging
, devel/py-cffi
, and devel/py-sysctl
to avoid the need of bumping the base python version.
- pkg install -y autoconf automake libtool gettext-runtime gmake ksh93 py39-packaging py39-cffi py39-sysctl | ||
configure_script: | ||
- env MAKE=gmake ./autogen.sh | ||
- env MAKE=gmake ./configure --with-config="user" --with-python=3.9 |
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.
Oh. You want explicitly 3.9. Sorry for the noise!
5ca4660
to
a254171
Compare
As a first step for automatic FreeBSD testing add a build and install for FreeBSD versions 12.4, 13.2 and 14-snapshot using Cirrus CI. Signed-off-by: Martin Matuska <[email protected]>
a254171
to
786e74b
Compare
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.
Thanks. Cirrus CI looks like it may be a nice way to handle this. We'll still need to enable the GitHub App for the organization repository but we can get this merged now.
As a first step for automatic FreeBSD testing add a build and install for FreeBSD versions 12.4, 13.2 and 14-snapshot using Cirrus CI. Reviewed-by: Jose Luis Duran Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Martin Matuska <[email protected]> Closes openzfs#15332
As a first step for automatic FreeBSD testing add a build and install for FreeBSD versions 12.4, 13.2 and 14-snapshot using Cirrus CI. Reviewed-by: Jose Luis Duran Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Martin Matuska <[email protected]> Closes #15332
As a first step for automatic FreeBSD testing add a build and install for FreeBSD versions 12.4, 13.2 and 14-snapshot using Cirrus CI. Reviewed-by: Jose Luis Duran Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Martin Matuska <[email protected]> Closes openzfs#15332
Motivation and Context
As a first step for automatic FreeBSD testing add a build and install for FreeBSD versions 12.4, 13.2 and 14-snapshot using Cirrus CI. As next steps we can extend it to run the ZFS test suite.
Description
Add .cirrus.yml to the project and non-exclude it in .gitignore
The GitHub project needs to install the Cirrus CI GitHub app.
How Has This Been Tested?
Cirrus CI build on GitHub mmatuska/zfs
Types of changes
Checklist:
Signed-off-by
.