mirror of
https://github.com/ivabus/pantry
synced 2024-11-26 02:15:06 +03:00
fbdf63edf9
closes #4093
43 lines
816 B
YAML
43 lines
816 B
YAML
distributable:
|
|
url: https://github.com/lima-vm/lima/archive/v{{version}}.tar.gz
|
|
strip-components: 1
|
|
|
|
versions:
|
|
github: lima-vm/lima
|
|
|
|
dependencies:
|
|
qemu.org: '*'
|
|
|
|
build:
|
|
dependencies:
|
|
go.dev: '*'
|
|
script:
|
|
- run: |
|
|
sed -i.bak -e's/ldflags="/ldflags="-buildmode=pie /' Makefile
|
|
rm Makefile.bak
|
|
if: linux
|
|
- 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}}
|