Skip to content

Enable Ubuntu 22.04 builds #130

Enable Ubuntu 22.04 builds

Enable Ubuntu 22.04 builds #130

name: Build and Test Documentation
on:
push:
branches: master
pull_request:
branches: master
jobs:
documentationjob:
name: Build and Test Documentation
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
submodules: true
- name: Install Dependencies
run: bash .github/workflows/install_dependencies.sh && sudo apt-get install doxygen graphviz lcov
- name: Build Documentation and Test
run: |
GTEST_OUTPUT="xml:test_results"
colcon build --event-handlers console_direct+ --executor sequential --packages-up-to ad_map_access ad_physics --cmake-args -DCMAKE_BUILD_TYPE=Debug -DBUILD_TESTING=ON -DBUILD_COVERAGE=ON -DBUILD_APIDOC=ON
colcon test --event-handlers console_direct+ --packages-select ad_map_access ad_physics
colcon test-result
- name: Code Coverage and CodeCov
run: |
bash .github/workflows/code_coverage.sh
- name: Documentation Deployment (Test)
run: |
if [ ${{ github.event_name }} != 'pull_request' ]; then bash .github/workflows/deploy_documentation.sh true; else bash .github/workflows/deploy_documentation.sh false; fi