name: doc on: [push, pull_request] jobs: build: runs-on: ubuntu-18.04 steps: - uses: actions/checkout@v2 - name: Create Build Environment run: | sudo apt install doxygen cmake -E make_directory ${{runner.workspace}}/build - name: Configure working-directory: ${{runner.workspace}}/build run: cmake -DCMAKE_BUILD_TYPE=${{matrix.build_type}} $GITHUB_WORKSPACE - name: Build working-directory: ${{runner.workspace}}/build run: cmake --build . --config ${{matrix.build_type}}