fix(colima)

closes #4093
This commit is contained in:
Jacob Heider 2023-11-16 18:04:41 -05:00 committed by Jacob Heider
parent 2ac8a2bac4
commit fbdf63edf9

View file

@ -16,16 +16,28 @@ build:
sed -i.bak -e's/ldflags="/ldflags="-buildmode=pie /' Makefile sed -i.bak -e's/ldflags="/ldflags="-buildmode=pie /' Makefile
rm Makefile.bak rm Makefile.bak
if: linux if: linux
- make VERSION={{version}} minimal - make $ARGS binaries
- mkdir -p {{prefix}} - mkdir -p {{prefix}}
- mv ./_output/* {{prefix}}/ - mv ./_output/* {{prefix}}/
env: env:
CC: clang CC: clang
CXX: clang++ CXX: clang++
LD: clang LD: clang
ARGS:
- VERSION={{version}}
linux:
ARGS:
- CONFIG_GUESTAGENT_ARCH_ARMV7L=n
- CONFIG_GUESTAGENT_ARCH_RISCV64=n
provides: provides:
- bin/apptainer.lima
- bin/docker.lima
- bin/kubectl.lima
- bin/lima
- bin/limactl - bin/limactl
- bin/nerdctl.lima
- bin/podman.lima
test: test:
limactl --version | grep {{version}} limactl --version | grep {{version}}