librc: use return value of rc_getline for len instead of the buffer size #762
Workflow file for this run
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: ci_ubuntu | |
on: [push, pull_request] | |
jobs: | |
ubuntu: | |
name: Ubuntu | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
compiler: | |
- gcc | |
- clang | |
env: | |
CC: ${{ matrix.compiler }} | |
steps: | |
- uses: actions/checkout@v2 | |
- run: sudo apt-get update -q | |
- run: sudo apt-get install -q -y build-essential libpam-dev meson libcap-dev ${CC} | |
- run: meson setup builddir/ | |
- run: ninja -C builddir | |
- run: ninja test --verbose -C builddir |