make diod work on alpine linux/musl libc #175
Workflow file for this run
This file contains hidden or 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 | |
| on: [ pull_request, push ] | |
| jobs: | |
| build: | |
| runs-on: ${{matrix.os}} | |
| strategy: | |
| matrix: | |
| cc: [gcc, clang] | |
| os: [ubuntu-latest] | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Install dependencies | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y \ | |
| ncurses-dev automake autoconf pkgconf \ | |
| lua5.3 liblua5.3-dev libmunge-dev libcap-dev \ | |
| libattr1-dev rsync dbench attr scrub postmark valgrind \ | |
| ${{matrix.cc}} | |
| - name: Display configuration | |
| run: | | |
| echo "C compiler:" | |
| ${CC} --version | |
| echo "Kernel:" | |
| uname -r | |
| echo "/tmp file system:" | |
| df /tmp | |
| env: | |
| CC: ${{matrix.cc}} | |
| - name: allow nobody user into home | |
| run: sudo chmod go+rx ~ | |
| - name: autogen | |
| run: ./autogen.sh | |
| - name: configure | |
| run: ./configure | |
| - name: make | |
| run: make | |
| - name: make check | |
| run: verbose=t make check | |
| - name: valgrind some unit tests | |
| run: scripts/check-valgrind.sh | |
| - name: sudo some unit tests | |
| run: scripts/check-root.sh | |
| - name: make distcheck | |
| run: make distcheck | |
| - name: get test results on failure | |
| if: failure() | |
| run: find . -name test-suite.log | xargs cat >&2 | |
| build-rdma: | |
| name: build-only check for RDMA (experimental) | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Install dependencies | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y \ | |
| ncurses-dev automake autoconf pkgconf \ | |
| lua5.3 liblua5.3-dev libmunge-dev libcap-dev \ | |
| libattr1-dev libibverbs-dev librdmacm-dev gcc | |
| - name: autogen | |
| run: ./autogen.sh | |
| - name: configure | |
| run: ./configure --enable-rdma | |
| - name: make | |
| run: make | |
| build-minimal: | |
| name: check minimal configuration | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Install dependencies | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y \ | |
| ncurses-dev automake autoconf pkgconf \ | |
| libcap-dev libattr1-dev | |
| - name: allow nobody user into home | |
| run: sudo chmod go+rx ~ | |
| - name: autogen | |
| run: ./autogen.sh | |
| - name: configure without auth, config, multiuser | |
| run: ./configure --disable-auth --disable-config --disable-multiuser | |
| - name: make | |
| run: make | |
| - name: make check | |
| run: verbose=t make check | |
| - name: get test results on failure | |
| if: failure() | |
| run: find . -name test-suite.log | xargs cat >&2 |