2021-10-09 23:07:05 +05:30
|
|
|
name: ci_ubuntu
|
|
|
|
|
|
|
|
on: [push, pull_request]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
|
2022-04-17 01:45:05 +05:30
|
|
|
ubuntu:
|
|
|
|
name: Ubuntu
|
2021-10-09 23:07:05 +05:30
|
|
|
runs-on: ubuntu-latest
|
2022-04-17 01:45:05 +05:30
|
|
|
strategy:
|
|
|
|
fail-fast: false
|
|
|
|
matrix:
|
|
|
|
compiler:
|
|
|
|
- gcc
|
|
|
|
- clang
|
|
|
|
env:
|
|
|
|
CC: ${{ matrix.compiler }}
|
2021-10-09 23:07:05 +05:30
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- run: sudo apt-get update -q
|
2022-04-17 01:45:05 +05:30
|
|
|
- run: sudo apt-get install -q -y build-essential libpam-dev meson libcap-dev ${CC}
|
2021-10-09 23:07:05 +05:30
|
|
|
- run: meson setup builddir/
|
|
|
|
- run: ninja -C builddir
|
2022-04-17 01:43:08 +05:30
|
|
|
- run: ninja test --verbose -C builddir
|