mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
parent
2ac8a2bac4
commit
fbdf63edf9
1 changed files with 13 additions and 1 deletions
|
@ -16,16 +16,28 @@ build:
|
|||
sed -i.bak -e's/ldflags="/ldflags="-buildmode=pie /' Makefile
|
||||
rm Makefile.bak
|
||||
if: linux
|
||||
- make VERSION={{version}} minimal
|
||||
- make $ARGS binaries
|
||||
- mkdir -p {{prefix}}
|
||||
- mv ./_output/* {{prefix}}/
|
||||
env:
|
||||
CC: clang
|
||||
CXX: clang++
|
||||
LD: clang
|
||||
ARGS:
|
||||
- VERSION={{version}}
|
||||
linux:
|
||||
ARGS:
|
||||
- CONFIG_GUESTAGENT_ARCH_ARMV7L=n
|
||||
- CONFIG_GUESTAGENT_ARCH_RISCV64=n
|
||||
|
||||
provides:
|
||||
- bin/apptainer.lima
|
||||
- bin/docker.lima
|
||||
- bin/kubectl.lima
|
||||
- bin/lima
|
||||
- bin/limactl
|
||||
- bin/nerdctl.lima
|
||||
- bin/podman.lima
|
||||
|
||||
test:
|
||||
limactl --version | grep {{version}}
|
||||
|
|
Loading…
Reference in a new issue