Update readme.md #7
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
# SPDX-FileCopyrightText: Copyright DB Netz AG | |
# SPDX-License-Identifier: CC0-1.0 | |
name: Map API Documentation | |
on: | |
push: | |
branches: | |
- 'main' | |
permissions: | |
contents: write | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout DBS Onboard API code including submodules recursively | |
uses: actions/checkout@v2 | |
with: | |
submodules: recursive | |
- name: Install dependencies | |
run: | | |
sudo apt-get update -y | |
sudo apt-get install -y cmake | |
sudo apt-get install -y gcovr | |
sudo apt-get install libgmock-dev libgtest-dev | |
sudo apt-get install -y rapidjson-dev | |
sudo apt-get install -y doxygen | |
sudo apt-get install libcurl4-openssl-dev protobuf-compiler libprotobuf-dev libboost-all-dev -y --no-install-recommends --fix-missing | |
- name: Build DBS Onboard MAP API sources | |
run: ./scripts/build.sh -DCMAKE_BUILD_TYPE=Debug | |
- name: Deploy to GitHub Pages | |
uses: JamesIves/[email protected] | |
with: | |
folder: build/docs/html | |
branch: gh-pages |