Skip to content

Update Sphinx tooling requirements #31

Update Sphinx tooling requirements

Update Sphinx tooling requirements #31

Workflow file for this run

name: Sampling Engine - CI
on: [ pull_request ]
jobs:
build:
name: Build
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
include:
- COMPILER_SUITE: gcc
C_COMPILER_VERSION: gcc
CXX_COMPILER_VERSION: g++
COMPILER_PACKAGE: g++
- COMPILER_SUITE: clang
C_COMPILER_VERSION: clang
CXX_COMPILER_VERSION: clang++
COMPILER_PACKAGE: clang
steps:
- name: Checkout Repository
uses: actions/checkout@v2
#- name: Move to PR Head
# run: git checkout HEAD^2
- name: Update APT Cache
run: sudo apt-get update -qq
- name: Install dependencies
run: sudo apt-get -y install cmake libboost-test-dev lcov gcovr ${{ matrix.COMPILER_PACKAGE }}
#- name: Install Coveralls (GCC only)
# run: pip install --user cpp-coveralls
# if: ${{ matrix.COMPILER_SUITE }} == "gcc"
- name: create build directory
run: mkdir build
- name: Configure Build
env:
C_COMPILER: ${{ matrix.C_COMPILER_VERSION }}
CXX_COMPILER: ${{ matrix.CXX_COMPILER_VERSION }}
run: cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_COMPILER=`which ${C_COMPILER}` -DCMAKE_CXX_COMPILER=`which ${CXX_COMPILER}` ../src
working-directory: ./build
# Disable as it's not finding Coveralls
#- name: Build with Coverage (GCC compilers only)
# run: make coverage && coveralls --exclude lib --exclude tests --gcov-options '\-lpr'
# shell: bash
# working-directory: ./build
# if: ${{ matrix.COMPILER_SUITE }} == "gcc"
- name: Build without Coverage (GCC compilers only)
run: make && make test
working-directory: ./build
if: ${{ matrix.COMPILER_SUITE }} == "gcc"

Check warning on line 48 in .github/workflows/pull_request.yml

View workflow run for this annotation

GitHub Actions / Sampling Engine - CI

Workflow syntax warning

.github/workflows/pull_request.yml (Line: 48, Col: 14): Conditional expression contains literal text outside replacement tokens. This will cause the expression to always evaluate to truthy. Did you mean to put the entire expression inside ${{ }}?
- name: Build without Coverage (non-GCC compilers)
run: make && make test
working-directory: ./build
if: ${{ matrix.COMPILER_SUITE }} != "gcc"

Check warning on line 52 in .github/workflows/pull_request.yml

View workflow run for this annotation

GitHub Actions / Sampling Engine - CI

Workflow syntax warning

.github/workflows/pull_request.yml (Line: 52, Col: 14): Conditional expression contains literal text outside replacement tokens. This will cause the expression to always evaluate to truthy. Did you mean to put the entire expression inside ${{ }}?
#- name: Post Coveralls Data
# run: coveralls --exclude lib --exclude tests --gcov-options '\-lpr'
# working-directory: ./build
# if: ${{ matrix.COMPILER_SUITE }} == "gcc"