mirror of
https://github.com/Cloudef/bemenu
synced 2024-11-23 09:21:59 +01:00
42 lines
1.1 KiB
YAML
42 lines
1.1 KiB
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
branches: [ master ]
|
|
pull_request:
|
|
branches: [ master ]
|
|
|
|
jobs:
|
|
ubuntu:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: install build deps
|
|
run: sudo apt-get install libcairo2-dev libpango1.0-dev libxinerama-dev libwayland-dev wayland-protocols libxkbcommon-dev
|
|
- name: make
|
|
run: make PREFIX=install EXTRA_WARNINGS=-Werror
|
|
- name: make install
|
|
run: make install PREFIX=install
|
|
|
|
osx:
|
|
runs-on: macos-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: install build deps
|
|
run: brew update; brew install make pkg-config
|
|
- name: make
|
|
run: sh build-osx.sh EXTRA_WARNINGS=-Werror clients curses
|
|
|
|
doxygen:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: install doxygen
|
|
run: sudo apt-get install doxygen
|
|
- name: make doxygen
|
|
run: make doxygen
|
|
- uses: actions/upload-artifact@v2
|
|
with:
|
|
name: docs
|
|
path: html
|