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
|
|
|
|
run: make distcheck
|
2020-08-17 04:59:23 +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
|