mirror of
https://codeberg.org/scip/udpxd.git
synced 2025-12-16 19:40:58 +01:00
33 lines
739 B
YAML
33 lines
739 B
YAML
matrix:
|
|
platform:
|
|
- linux/amd64
|
|
|
|
labels:
|
|
platform: ${platform}
|
|
|
|
steps:
|
|
build:
|
|
when:
|
|
event: [push]
|
|
image: alpine:latest
|
|
commands:
|
|
- apk update
|
|
- apk add --no-cache bash build-base gdb pkgconfig meson ninja perl bind-tools
|
|
- meson setup --reconfigure build
|
|
- ninja -C build
|
|
|
|
test:
|
|
when:
|
|
event: [push]
|
|
image: alpine:latest
|
|
commands:
|
|
- apk update
|
|
- apk add --no-cache bash bind-tools
|
|
- build/udpxd -l 127.0.0.1:53 -t 8.8.8.8:53 &
|
|
- dig +nocmd +noall +answer google.de a @127.0.0.1
|
|
- killall udpxd
|
|
#- build/udpxd -l [::1]:53 -t [2001:4860:4860::8888]:53 &
|
|
#- dig +nocmd +noall +answer google.de a @::1
|
|
#- killall udpxd
|
|
|