File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : OpenMP SIMD Build - FLOAT=${{ matrix.float }},
2+
3+ on : [push, pull_request]
4+
5+ env :
6+ # The CMake build type
7+ BUILD_TYPE : Release
8+
9+ jobs :
10+ build :
11+ strategy :
12+ fail-fast : false
13+ matrix :
14+ float : [ON, OFF]
15+
16+ runs-on : ubuntu-latest
17+
18+ steps :
19+ - name : Check out repository
20+ uses : actions/checkout@v2
21+ with :
22+ submodules : ' recursive'
23+
24+ - name : Setup Environment
25+ run : cmake -E make_directory ${{ runner.workspace }}/build
26+
27+ - name : Configure
28+ shell : bash
29+ working-directory : ${{ runner.workspace }}/build
30+ 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
31+
32+ - name : Build
33+ shell : bash
34+ working-directory : ${{ runner.workspace }}/build
35+ run : cmake --build . --config $BUILD_TYPE
36+
37+ - name : Run tests
38+ shell : bash
39+ working-directory : ${{ runner.workspace }}/build
40+ run : ctest -C $BUILD_TYPE
You can’t perform that action at this time.
0 commit comments