nc(1): remove invalid manpage reference #175
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: C/C++ CI | |
on: | |
push: | |
branches: [ master ] | |
paths: | |
- 'meson.build' | |
- 'include/**' | |
- 'src.*/**' | |
- '.github/workflows/**' | |
pull_request: | |
branches: [ master ] | |
paths: | |
- 'meson.build' | |
- 'compat/**' | |
- 'include/**' | |
- 'src.*/**' | |
- '.github/workflows/**' | |
jobs: | |
glibc: | |
runs-on: ubuntu-latest | |
steps: | |
- name: dependencies | |
run: | | |
sudo env DEBIAN_FRONTEND=noninteractive apt-get -y install meson ninja-build libedit-dev libacl1-dev libbz2-dev zlib1g-dev libzstd-dev liblzma-dev curl | |
- name: libxo | |
run: | | |
VER="$(git ls-remote --tag https://github.com/Juniper/libxo | grep -E "\/[0-9\.]+$" | rev | cut -d '/' -f 1 | rev | sort -n | tail -n 1)" | |
curl -k -f -L -O https://github.com/Juniper/libxo/releases/download/${VER}/libxo-${VER}.tar.gz | |
tar -xf libxo-${VER}.tar.gz | |
cd libxo-${VER} | |
# remove this once it's merged and a new release includes it | |
curl -k -f -L -O https://github.com/Juniper/libxo/pull/82.patch | |
[ -f 82.patch ] && patch -p1 < 82.patch | |
./configure --prefix=/usr/local | |
make | |
sudo make install | |
- uses: actions/checkout@v2 | |
- name: build and check | |
run: | | |
meson setup build --werror -Db_buildtype=debug | |
ninja -C build -v | |
meson test -C build -v | |
musl: | |
runs-on: ubuntu-latest | |
container: | |
image: "alpine:latest" | |
steps: | |
- name: dependencies | |
run: | | |
apk add curl git libtool autoconf automake make patch gcc musl-dev linux-headers g++ meson flex bison libedit-dev openssl-dev musl-fts-dev acl-dev zlib-dev bzip2-dev xz-dev zstd-dev bsd-compat-headers | |
- name: libxo | |
run: | | |
VER="$(git ls-remote --tag https://github.com/Juniper/libxo | grep -E "\/[0-9\.]+$" | rev | cut -d '/' -f 1 | rev | sort -n | tail -n 1)" | |
curl -k -f -L -O https://github.com/Juniper/libxo/releases/download/${VER}/libxo-${VER}.tar.gz | |
tar -xf libxo-${VER}.tar.gz | |
cd libxo-${VER} | |
# remove this once it's merged and a new release includes it | |
curl -k -f -L -O https://github.com/Juniper/libxo/pull/82.patch | |
[ -f 82.patch ] && patch -p1 < 82.patch | |
./configure --prefix=/usr/local | |
make | |
make install | |
- name: rpmatch for musl | |
run: | | |
git clone https://github.com/pullmoll/musl-rpmatch | |
cd musl-rpmatch | |
./bootstrap.sh | |
./configure --prefix=/usr/local | |
make | |
make install | |
- uses: actions/checkout@v2 | |
- name: build and check | |
run: | | |
meson setup build --werror -Db_buildtype=debug -Drpmatch_path=/usr/local/lib | |
ninja -C build -v | |
meson test -C build -v |