mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
this should work
This commit is contained in:
parent
0541068b8b
commit
f6034632f7
1 changed files with 11 additions and 15 deletions
|
@ -5,10 +5,6 @@ distributable:
|
||||||
versions:
|
versions:
|
||||||
github: containers/gvisor-tap-vsock/releases/tags
|
github: containers/gvisor-tap-vsock/releases/tags
|
||||||
|
|
||||||
platforms:
|
|
||||||
- darwin
|
|
||||||
- linux/x86-64
|
|
||||||
|
|
||||||
provides:
|
provides:
|
||||||
- bin/gvproxy
|
- bin/gvproxy
|
||||||
- bin/qemu-wrapper
|
- bin/qemu-wrapper
|
||||||
|
@ -16,17 +12,17 @@ provides:
|
||||||
build:
|
build:
|
||||||
dependencies:
|
dependencies:
|
||||||
go.dev: ^1.18
|
go.dev: ^1.18
|
||||||
script: |
|
script:
|
||||||
if test "{{hw.platform}}" = "linux"; then
|
- run: |
|
||||||
sed -i.bak 's/go build/go build -buildmode=pie/g' Makefile
|
sed -i.bak 's/go build/go build -buildmode=pie/g' Makefile
|
||||||
fi
|
rm Makefile.bak
|
||||||
|
if: linux
|
||||||
|
|
||||||
make --jobs {{ hw.concurrency }}
|
- make --jobs {{ hw.concurrency }}
|
||||||
mkdir -p "{{ prefix }}"/bin
|
- mkdir -p "{{ prefix }}"
|
||||||
mv bin/* "{{ prefix }}"/bin
|
- cp -a bin "{{ prefix }}"
|
||||||
|
|
||||||
test:
|
test:
|
||||||
script: |
|
script:
|
||||||
gvproxy -help 2>&1
|
- gvproxy -help
|
||||||
gvproxy -help 2>&1 | grep "Usage of gvproxy:"
|
- gvproxy -help 2>&1 | grep "Usage of gvproxy:"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue