2020-03-08 15:36:14 -04:00
|
|
|
name: Build Test
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: [ master ]
|
|
|
|
pull_request:
|
|
|
|
branches: [ master ]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
2020-03-08 15:53:10 -04:00
|
|
|
- name: Install dependencies
|
2020-03-08 16:14:41 -04:00
|
|
|
run: sudo apt install pkg-config libpam0g-dev libcairo2-dev libfontconfig1-dev libxcb-composite0 libxcb-composite0-dev libev-dev libx11-xcb-dev libxcb-xkb-dev libxcb-xinerama0-dev libxcb-randr0-dev libxcb-image0-dev libxcb-util-dev libxcb-xrm-dev libxkbcommon-dev libxkbcommon-x11-dev libjpeg-dev
|
2020-03-08 15:36:14 -04:00
|
|
|
- name: autoreconf
|
|
|
|
run: autoreconf --force --install
|
2020-03-08 16:37:30 -04:00
|
|
|
- name: Make build dir
|
|
|
|
run: mkdir -p build && cd build/
|
2020-03-08 15:36:14 -04:00
|
|
|
- name: configure
|
2020-03-08 15:41:52 -04:00
|
|
|
run: ./configure --prefix=/usr --sysconfdir=/etc --disable-sanitizers
|
2020-03-08 15:36:14 -04:00
|
|
|
- name: make
|
|
|
|
run: make
|
|
|
|
- name: make check
|
|
|
|
run: make check
|
|
|
|
- name: make distcheck
|
|
|
|
run: make distcheck
|