Skip to content

compile libutil with default visibility #241

compile libutil with default visibility

compile libutil with default visibility #241

Workflow file for this run

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}
./configure --prefix=/usr/local
make
sudo make install
- uses: actions/checkout@v2
- name: build and check
run: |
meson setup build --werror -Dbuildtype=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 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}
./configure --prefix=/usr/local
make
make install
- uses: actions/checkout@v2
- name: build and check
run: |
meson setup build --werror -Dbuildtype=debug
ninja -C build -v
meson test -C build -v