Conversation
|
@gchatelet, @Mizux, could you please review PR? |
|
Sorry for the delay, still need to think about it... On the bright side: b) leveraging github actions reduce our technical debt and reducing scripts length... On the cons side: d) Using actions means we can't easily locally test or we need to maintain a second scripts with overlap to the github action... e) vmactions/freebsd-builder seems brittle and may allow some supply chain attack (ed very low risk since we don't deploy or share/use any token). Actually, my main concern is more the test of time, AFAIK only "neil" seems to be the maintainer of this tooling and I don't like this kind of change where both repos need to be in sync...: ps: Still want to explore As usual feel free to comment any points and change my mind, I'm still thinking about it ! |
Checked another solutions to support FreeBSD CI:
freebsd-vm:
It looks like this solution supports only amd64 architecture
https://github.com/vmactions/freebsd-builder/blob/main/conf/freebsd-14.1.conf#L3
However, in builder script there is
VM_ARCHhttps://github.com/vmactions/freebsd-builder/blob/f799d8fb9b84977ec8fa020178262de39eaa4b83/build.sh#L35
and upcoming features:
Maybe it’s possible manually configure the architecture somehow, but at the moment it looks like a hardcoded architecture amd64
cross-platform-actions:
This action supports FreeBSD
amd64andarm64architectures and we support these architectures for FreeBSD:https://github.com/cross-platform-actions/action?tab=readme-ov-file#freebsd-freebsd
I used this solution, proof of success:
It worth noting that googletest doesn't work with bazel in FreeBSD, so we use only cmake in CI:
#295 (comment)
We can try to add only build for bazel.