Skip to content

added several boost versions #140

added several boost versions

added several boost versions #140

Workflow file for this run

name: C/C++ CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ${{ matrix.os }}
steps:
- name: Ubuntu - Install boost 1.83.0 with gcc and x86
uses: MarkusJx/install-boost@v2.4.4
id: install-boost
with:
boost_version: 1.83.0
platform_version: 22.04
boost_install_dir: /home/runner/some_directory
toolset: gcc
arch: x86
- name: Ubuntu - Install boost 1.83.0 with gcc and aarch64
uses: MarkusJx/install-boost@v2.4.4
id: install-boost

Check failure on line 26 in .github/workflows/c-cpp.yml

View workflow run for this annotation

GitHub Actions / C/C++ CI

Invalid workflow file

The workflow is not valid. .github/workflows/c-cpp.yml (Line: 26, Col: 11): The identifier 'install-boost' may not be used more than once within the same scope. .github/workflows/c-cpp.yml (Line: 36, Col: 11): The identifier 'install-boost' may not be used more than once within the same scope.
with:
boost_version: 1.83.0
platform_version: 22.04
boost_install_dir: /home/runner/some_directory
toolset: gcc
arch: aarch64
- name: Ubuntu - Install boost 1.83.0 with clang and x86
uses: MarkusJx/install-boost@v2.4.4
id: install-boost
with:
boost_version: 1.83.0
platform_version: 22.04
boost_install_dir: /home/runner/some_directory
toolset: clang
arch: x86
- name: Ubuntu - Install boost 1.83.0 with clang and aarch64
uses: MarkusJx/install-boost@v2.4.4
id: install-boost
with:
boost_version: 1.83.0
platform_version: 22.04
boost_install_dir: /home/runner/some_directory
toolset: clang
arch: aarch64
- name: Windows - Install boost 1.71.0 with gcc and x86
uses: MarkusJx/install-boost@v2.4.4
id: install-boost
with:
boost_version: 1.71.0
platform_version: windows
boost_install_dir: /home/runner/some_directory
toolset: gcc
arch: x86
- name: Windows - Install boost 1.71.0 with gcc and aarch64
uses: MarkusJx/install-boost@v2.4.4
id: install-boost
with:
boost_version: 1.71.0
platform_version: windows
boost_install_dir: /home/runner/some_directory
toolset: gcc
arch: aarch64
- name: Windows - Install boost 1.71.0 with clang and x86
uses: MarkusJx/install-boost@v2.4.4
id: install-boost
with:
boost_version: 1.71.0
platform_version: windows
boost_install_dir: /home/runner/some_directory
toolset: clang
arch: x86
- name: Windows - Install boost 1.71.0 with clang and aarch64
uses: MarkusJx/install-boost@v2.4.4
id: install-boost
with:
boost_version: 1.71.0
platform_version: windows
boost_install_dir: /home/runner/some_directory
toolset: clang
arch: aarch64
- uses: actions/checkout@v3
- 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/**/*'