2021-10-09 23:07:05 +05:30
|
|
|
name: ci_ubuntu
|
|
|
|
|
|
|
|
on: [push, pull_request]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
|
|
|
|
gcc-glibc:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- run: sudo apt-get update -q
|
2021-06-13 22:56:24 +05:30
|
|
|
- run: sudo apt-get install -q -y build-essential libpam-dev meson libcap-dev
|
2021-10-09 23:07:05 +05:30
|
|
|
- run: meson setup builddir/
|
|
|
|
env:
|
|
|
|
CC: gcc
|
|
|
|
- run: ninja -C builddir
|
|
|
|
env:
|
|
|
|
CC: gcc
|
2022-04-17 01:43:08 +05:30
|
|
|
- run: ninja test --verbose -C builddir
|
|
|
|
env:
|
|
|
|
CC: gcc
|
2021-10-09 23:07:05 +05:30
|
|
|
|
|
|
|
|
|
|
|
clang-glibc:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- run: sudo apt-get update -q
|
2021-06-13 22:56:24 +05:30
|
|
|
- run: sudo apt-get install -q -y build-essential clang libpam-dev meson libcap-dev
|
2021-10-09 23:07:05 +05:30
|
|
|
- run: meson setup builddir/
|
|
|
|
env:
|
|
|
|
CC: clang
|
|
|
|
- run: ninja -C builddir
|
|
|
|
env:
|
|
|
|
CC: clang
|
2022-04-17 01:43:08 +05:30
|
|
|
- run: ninja test --verbose -C builddir
|
|
|
|
env:
|
|
|
|
CC: clang
|