Skip to content

Add workflow to test openMP SIMD #1

Add workflow to test openMP SIMD

Add workflow to test openMP SIMD #1

Workflow file for this run

name: OpenMP SIMD Build - FLOAT=${{ matrix.float }},

Check failure on line 1 in .github/workflows/openmp.yaml

View workflow run for this annotation

GitHub Actions / OpenMP SIMD Build - FLOAT=${{ matrix.float }},

Invalid workflow file

The workflow is not valid. .github/workflows/openmp.yaml (Line: 1, Col: 7): Unrecognized named-value: 'matrix'. Located at position 1 within expression: matrix.float
on: [push, pull_request]
env:
# The CMake build type
BUILD_TYPE: Release
jobs:
build:
strategy:
fail-fast: false
matrix:
float: [ON, OFF]
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v2
with:
submodules: 'recursive'
- name: Setup Environment
run: cmake -E make_directory ${{ runner.workspace }}/build
- name: Configure
shell: bash
working-directory: ${{ runner.workspace }}/build
run: cmake --warn-uninitialized -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DQDLDL_UNITTESTS=ON -DQDLDL_FLOAT=${{ matrix.float }} -DCOVERAGE=OFF -DQDLDL_ENABLE_OPENMP_SIMD=ON $GITHUB_WORKSPACE
- name: Build
shell: bash
working-directory: ${{ runner.workspace }}/build
run: cmake --build . --config $BUILD_TYPE
- name: Run tests
shell: bash
working-directory: ${{ runner.workspace }}/build
run: ctest -C $BUILD_TYPE