@@ -17,15 +17,15 @@ name: Linux Build and Test
1717on :
1818 push :
1919 branches :
20- - main
20+ - main
2121 pull_request :
2222
2323permissions :
2424 contents : read
2525
2626# This allows a subsequently queued workflow run to interrupt previous runs
2727concurrency :
28- group : ' ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'
28+ group : ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}
2929 cancel-in-progress : true
3030
3131jobs :
@@ -38,27 +38,27 @@ jobs:
3838 ivf : [OFF, ON]
3939 cxx : [g++-11, g++-12, clang++-15]
4040 include :
41- - cxx : g++-11
42- cc : gcc-11
43- - cxx : g++-12
44- cc : gcc-12
45- - cxx : clang++-15
46- cc : clang-15
41+ - cxx : g++-11
42+ cc : gcc-11
43+ - cxx : g++-12
44+ cc : gcc-12
45+ - cxx : clang++-15
46+ cc : clang-15
4747 exclude :
48- - cxx : g++-12
49- ivf : ON
48+ - cxx : g++-12
49+ ivf : ON
5050
5151 steps :
5252 - uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
5353 - name : Install MKL
5454 timeout-minutes : 5
5555 run : |
56- .github/scripts/setup_apt_repo_linux.sh
57- sudo apt install intel-oneapi-mkl intel-oneapi-mkl-devel
58- # Setup environment variables for building against MKL.
59- # Persist the environment variables for use across multiple subsequent actions.
60- source /opt/intel/oneapi/setvars.sh
61- printenv >> $GITHUB_ENV
56+ .github/scripts/setup_apt_repo_linux.sh
57+ sudo apt install intel-oneapi-mkl intel-oneapi-mkl-devel
58+ # Setup environment variables for building against MKL.
59+ # Persist the environment variables for use across multiple subsequent actions.
60+ source /opt/intel/oneapi/setvars.sh
61+ printenv >> $GITHUB_ENV
6262
6363 - name : Configure build
6464 working-directory : ${{ runner.temp }}
@@ -82,12 +82,12 @@ jobs:
8282
8383 - name : Run tests
8484 env :
85- CTEST_OUTPUT_ON_FAILURE : 1
85+ CTEST_OUTPUT_ON_FAILURE : 1
8686 working-directory : ${{ runner.temp }}/build/tests
8787 run : ctest -C ${{ matrix.build_type }}
8888
8989 - name : Run Cpp Examples
9090 env :
91- CTEST_OUTPUT_ON_FAILURE : 1
91+ CTEST_OUTPUT_ON_FAILURE : 1
9292 working-directory : ${{ runner.temp }}/build/examples/cpp
9393 run : ctest -C RelWithDebugInfo
0 commit comments