Merge pull request #113 from garlick/autocleanup #59
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 | |
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 \ | |
libpopt-dev ncurses-dev automake autoconf pkgconf \ | |
lua5.3 liblua5.3-dev libmunge-dev libwrap0-dev libcap-dev \ | |
libattr1-dev dbench attr scrub ${{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: autogen | |
run: ./autogen.sh | |
- name: configure | |
run: ./configure | |
- name: make | |
run: make | |
- name: make check | |
run: make check | |
- name: check with linux/9p | |
run: sudo make check -C tests/kern | |
- name: make distcheck | |
run: make distcheck |