Automatic catchup to commit ebc3928e9f3533fee5ecd61899e66293586371a9 #9
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: Build | |
on: [push, pull_request] | |
env: | |
BUILD_TYPE: Release | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: true | |
- name: Apt update | |
run: sudo apt-get update | |
- name: Install dependencies | |
run: sudo apt-get install doxygen | |
- name: Configure | |
shell: bash | |
run: | | |
cmake -E make_directory ${{github.workspace}}/build | |
cmake -B ${{github.workspace}}/build -S ${{github.workspace}} \ | |
-DBUILD_TESTING=ON \ | |
-DCMAKE_BUILD_TYPE=$BUILD_TYPE | |
- name: Build | |
shell: bash | |
run: | | |
cmake --build ${{github.workspace}}/build --target all docs install -j4 | |
- name: Test | |
shell: bash | |
run: | | |
cmake --build ${{github.workspace}}/build --target check |