Merge branch 'COVESA:master' into master #6
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: C/C++ CI | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: [ubuntu-22.04] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: install dependencies | |
run: | | |
sudo apt-get update -qq | |
sudo apt-get install -y libboost-system-dev libboost-thread-dev libboost-log-dev googletest asciidoc source-highlight doxygen graphviz | |
- name: Run CMake+Ninja without triplet | |
uses: lukka/run-cmake@v2 | |
with: | |
cmakeGenerator: 'Ninja' | |
cmakeListsOrSettingsJson: 'CMakeListsTxtAdvanced' | |
cmakeListsTxtPath: '${{ github.workspace }}/CMakeLists.txt' | |
cmakeAppendedArgs: '-DGTEST_ROOT=/usr/src/googletest/googletest/ -DCMAKE_INSTALL_PREFIX=${{ runner.workspace }}/install' | |
buildWithCMakeArgs: '-t all build_tests doc install' | |
buildDirectory: '${{ runner.workspace }}/build' | |
- uses: actions/upload-artifact@v2 | |
with: | |
name: vsomeip | |
path: '${{ runner.workspace }}/install/**/*' |