2020-08-17 04:59:23 +00:00
|
|
|
name: CI
|
|
|
|
|
2020-08-21 08:37:25 +00:00
|
|
|
on: [ push, pull_request ]
|
2020-08-17 04:59:23 +00:00
|
|
|
|
|
|
|
jobs:
|
2020-08-17 05:40:47 +00:00
|
|
|
build-ubuntu-latest:
|
2020-08-17 04:59:23 +00:00
|
|
|
runs-on: ubuntu-latest
|
2020-08-17 05:40:47 +00:00
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
2020-08-21 08:37:25 +00:00
|
|
|
- name: Install Dependencies
|
|
|
|
run: sudo apt-get install libncursesw5-dev
|
|
|
|
- name: Bootstrap
|
|
|
|
run: ./autogen.sh
|
|
|
|
- name: Configure
|
|
|
|
run: ./configure --enable-werror
|
2020-08-17 05:53:49 +00:00
|
|
|
- name: Build
|
2020-08-21 08:37:25 +00:00
|
|
|
run: make
|
|
|
|
- name: Distcheck
|
2020-08-25 09:56:26 +00:00
|
|
|
run: make distcheck DISTCHECK_CONFIGURE_FLAGS=--enable-werror
|
|
|
|
|
|
|
|
build-ubuntu-clang-latest:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
env:
|
|
|
|
CC: clang-10
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: install clang repo
|
|
|
|
run: |
|
|
|
|
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key 2>/dev/null | sudo apt-key add -
|
|
|
|
sudo add-apt-repository 'deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-10 main' -y
|
|
|
|
sudo apt-get update -q
|
|
|
|
- name: Install Dependencies
|
|
|
|
run: sudo apt-get install clang-10 libncursesw5-dev
|
|
|
|
- name: Bootstrap
|
|
|
|
run: ./autogen.sh
|
|
|
|
- name: Configure
|
|
|
|
run: ./configure --enable-werror
|
|
|
|
- name: Build
|
|
|
|
run: make
|
|
|
|
- name: Distcheck
|
|
|
|
run: make distcheck DISTCHECK_CONFIGURE_FLAGS=--enable-werror
|
2020-08-17 04:59:23 +00:00
|
|
|
|
2020-08-28 10:19:58 +00:00
|
|
|
build-ubuntu-latest-full-featured:
|
2020-08-25 08:52:29 +00:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Install Dependencies
|
2020-08-28 10:19:58 +00:00
|
|
|
run: sudo apt-get install libncursesw5-dev libhwloc-dev libnl-3-dev libnl-genl-3-dev
|
2020-08-25 08:52:29 +00:00
|
|
|
- name: Bootstrap
|
|
|
|
run: ./autogen.sh
|
|
|
|
- name: Configure
|
2020-08-28 10:19:58 +00:00
|
|
|
run: ./configure --enable-werror --enable-openvz --enable-cgroup --enable-vserver --enable-ancient-vserver --enable-taskstats --enable-unicode --enable-linux-affinity --enable-hwloc --enable-setuid --enable-delayacct
|
2020-08-25 08:52:29 +00:00
|
|
|
- name: Build
|
|
|
|
run: make
|
|
|
|
- name: Distcheck
|
2020-08-28 10:19:58 +00:00
|
|
|
run: make distcheck DISTCHECK_CONFIGURE_FLAGS='--enable-werror --enable-openvz --enable-cgroup --enable-vserver --enable-ancient-vserver --enable-taskstats --enable-unicode --enable-linux-affinity --enable-hwloc --enable-setuid --enable-delayacct'
|
2020-08-25 08:52:29 +00:00
|
|
|
|
2020-08-21 08:37:25 +00:00
|
|
|
whitespace_check:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: check-whitespaces
|
|
|
|
run: git diff-tree --check $(git hash-object -t tree /dev/null) HEAD
|