2023-06-23 21:21:54 +03:00
|
|
|
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:
|
2023-11-07 23:35:11 +03:00
|
|
|
- run: |
|
|
|
|
sed -i.bak -e's/ldflags="/ldflags="-buildmode=pie /' Makefile
|
|
|
|
rm Makefile.bak
|
|
|
|
if: linux
|
2023-11-17 02:04:41 +03:00
|
|
|
- make $ARGS binaries
|
2023-06-23 21:21:54 +03:00
|
|
|
- mkdir -p {{prefix}}
|
|
|
|
- mv ./_output/* {{prefix}}/
|
2023-11-07 23:35:11 +03:00
|
|
|
env:
|
|
|
|
CC: clang
|
|
|
|
CXX: clang++
|
|
|
|
LD: clang
|
2023-11-17 02:04:41 +03:00
|
|
|
ARGS:
|
|
|
|
- VERSION={{version}}
|
|
|
|
linux:
|
|
|
|
ARGS:
|
|
|
|
- CONFIG_GUESTAGENT_ARCH_ARMV7L=n
|
|
|
|
- CONFIG_GUESTAGENT_ARCH_RISCV64=n
|
2023-06-23 21:21:54 +03:00
|
|
|
|
|
|
|
provides:
|
2023-11-17 02:04:41 +03:00
|
|
|
- bin/apptainer.lima
|
|
|
|
- bin/docker.lima
|
|
|
|
- bin/kubectl.lima
|
|
|
|
- bin/lima
|
2023-06-23 21:21:54 +03:00
|
|
|
- bin/limactl
|
2023-11-17 02:04:41 +03:00
|
|
|
- bin/nerdctl.lima
|
|
|
|
- bin/podman.lima
|
2023-06-23 21:21:54 +03:00
|
|
|
|
|
|
|
test:
|
|
|
|
limactl --version | grep {{version}}
|