badges #131
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: Linux+Docs Build | |
on: [push] | |
jobs: | |
build-ubuntu: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: for cpp 17 | |
run: export CXX="g++-8" CC="gcc-8" & gcc --version | |
- name: configure | |
run: mkdir build && cd build && cmake -DCMAKE_CXX_FLAGS="-Werror" .. | |
- name: build | |
run: cmake --build build | |
- name: test | |
run: cd build && ctest | |
- name: Doxygen Action | |
uses: mattnotmitt/[email protected] | |
- name: Deploy | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
enable_jekyll: true | |
publish_dir: ./doxygen | |
destination_dir: ./doxygen |