generate man page with cmake; fix documentation #87
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: C/C++ CI | |
on: | |
push: | |
branches: [ cmake ] | |
pull_request: | |
branches: [ cmake ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./build | |
steps: | |
- uses: actions/checkout@v2 | |
- name: create build directory | |
run: mkdir -p ${{ github.workspace }}/build | |
working-directory: ${{ github.workspace }} | |
- name: install build dependencies | |
run: sudo apt-get -y install libx11-dev libxmu-dev libxft-dev libxrender-dev libxrandr-dev libpng-dev libxpm-dev uthash-dev autoconf automake | |
- name: configure | |
run: cmake .. | |
- name: make | |
run: cmake --build . | |
- name: check | |
run: ctest |