mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-25 11:47:43 +03:00
CI: Add ARM builder
Do a ZFS build inside of an ARM runner. This only does a simple build, it does not run the test suite. The build runs on the runner itself rather than in a VM, since nesting is not supported on Github ARM runners. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: George Melikov <mail@gmelikov.ru> Signed-off-by: Tony Hutter <hutter2@llnl.gov> Closes #18343
This commit is contained in:
@@ -350,7 +350,16 @@ fi
|
||||
# save some sysinfo
|
||||
uname -a > /var/tmp/uname.txt
|
||||
|
||||
cd $HOME/zfs
|
||||
# Check if we're running this script from within a VM or on the runner itself.
|
||||
# Most of the time we will be running in a VM, but the ARM builder actually
|
||||
# runs this script on the runner. If we happen to be running on the ARM
|
||||
# runner, we will start in the ZFS source directory. If we're running on a VM
|
||||
# then we'll just start in our home directory, and will need to 'cd' into our
|
||||
# source directory.
|
||||
if [ ! -e META ] ; then
|
||||
cd $HOME/zfs
|
||||
fi
|
||||
|
||||
export PATH="$PATH:/sbin:/usr/sbin:/usr/local/sbin"
|
||||
|
||||
extra=""
|
||||
|
||||
Reference in New Issue
Block a user