File tree Expand file tree Collapse file tree 5 files changed +26
-16
lines changed Expand file tree Collapse file tree 5 files changed +26
-16
lines changed Original file line number Diff line number Diff line change 3636
3737 steps :
3838
39- - uses : actions/setup-python@v2
39+ - uses : actions/setup-python@v4
4040 with :
4141 python-version : ' 3.10'
4242
5353 if : runner.os == 'macOS'
5454 run : brew install hdf5-mpi ninja ${{ matrix.mpi }}
5555
56- - uses : actions/checkout@v2
56+ - uses : actions/checkout@v3
5757
5858 - run : cmake --preset multi -DCMAKE_INSTALL_PREFIX=${{ runner.temp }} -DBUILD_SHARED_LIBS:BOOL=${{ matrix.shared }}
5959
8383 timeout-minutes : 10
8484
8585 steps :
86- - uses : actions/checkout@v2
87- - uses : actions/setup-python@v2
86+ - uses : actions/checkout@v3
87+ - uses : actions/setup-python@v4
8888 with :
8989 python-version : ' 3.x'
9090
Original file line number Diff line number Diff line change 3939 if : runner.os == 'macOS'
4040 run : brew install ${{ matrix.mpi }}
4141
42- - uses : actions/checkout@v2
42+ - uses : actions/checkout@v3
4343
4444 - name : Configure HDF5-MPI
4545 run : cmake -S scripts -B scripts/build -DCMAKE_INSTALL_PREFIX=${{ runner.temp }} -DBUILD_SHARED_LIBS:BOOL=${{ matrix.shared }}
Original file line number Diff line number Diff line change 2727 sudo apt update
2828 sudo apt install --no-install-recommends libhdf5-openmpi-dev libopenmpi-dev openmpi-bin
2929
30- - uses : actions/checkout@v2
30+ - uses : actions/checkout@v3
3131
3232 - run : fpm build
3333 env :
Original file line number Diff line number Diff line change 11name : intel-oneapi
22
33env :
4- CTEST_PARALLEL_LEVEL : 2
54 CMAKE_GENERATOR : Ninja
65 CC : icx
76 FC : ifx
87
98on :
109 push :
1110 paths :
11+ - " **.c"
12+ - " **.cpp"
1213 - " **.f90"
1314 - " **.F90"
1415 - " **.cmake"
1819
1920jobs :
2021
21- linux-intel-oneapi :
22+ linux :
2223 runs-on : ubuntu-latest
2324 timeout-minutes : 10
2425
4546 source /opt/intel/oneapi/setvars.sh
4647 printenv >> $GITHUB_ENV
4748
48- - uses : actions/checkout@v2
49+ - uses : actions/checkout@v3
4950
5051 - name : Configure HDF5
5152 run : cmake -S scripts -B scripts/build -DCMAKE_INSTALL_PREFIX=${{ runner.temp }} -DBUILD_SHARED_LIBS:BOOL=${{ matrix.shared }}
@@ -71,12 +72,18 @@ jobs:
7172 - name : debug unit test
7273 run : ctest --preset debug --output-junit test-debug-oneapi.xml
7374
74- - name : Install our package
75+ - name : install package
7576 run : cmake --install build
7677
77- - name : configure examples
78- run : cmake -S example -B example/build -DCMAKE_PREFIX_PATH:PATH=${{ runner.temp }}
79- - name : build examples
80- run : cmake --build example/build
81- - name : Test examples
78+ - name : configure example
79+ run : cmake -S example -B example/build -DCMAKE_PREFIX_PATH=${{ runner.temp }}
80+
81+ - name : print config log
82+ if : ${{ failure() }}
83+ run : cat example/build/CMakeFiles/CMakeError.log
84+
85+ - name : build example
86+ run : cmake --build example/build --parallel || cmake --build example/build -v
87+
88+ - name : test example
8289 run : ctest --test-dir example/build -V
Original file line number Diff line number Diff line change @@ -10,5 +10,8 @@ Remove-Item "C:\Program Files (x86)\Intel\oneAPI\compiler\$LATEST_VERSION\window
1010Remove-Item " C:\Program Files (x86)\Intel\oneAPI\compiler\$LATEST_VERSION \windows\lib\oclfpga" - Force - Recurse - ErrorAction SilentlyContinue
1111Remove-Item " C:\Program Files (x86)\Intel\oneAPI\compiler\$LATEST_VERSION \windows\lib\ocloc" - Force - Recurse - ErrorAction SilentlyContinue
1212Remove-Item " C:\Program Files (x86)\Intel\oneAPI\compiler\$LATEST_VERSION \windows\lib\x86" - Force - Recurse - ErrorAction SilentlyContinue
13-
13+ Remove-Item " C:\Program Files (x86)\Intel\oneAPI\mkl\$LATEST_VERSION \redist\intel64\mkl_sycld.2.dll" - Force - Recurse - ErrorAction SilentlyContinue
14+ Remove-Item " C:\Program Files (x86)\Intel\oneAPI\mkl\$LATEST_VERSION \redist\intel64\mkl_sycl.2.dll" - Force - Recurse - ErrorAction SilentlyContinue
15+ Remove-Item " C:\Program Files (x86)\Intel\oneAPI\mkl\$LATEST_VERSION \lib\intel64\mkl_sycld.lib" - Force - Recurse - ErrorAction SilentlyContinue
16+ Remove-Item " C:\Program Files (x86)\Intel\oneAPI\mkl\$LATEST_VERSION \lib\intel64\mkl_sycl.lib" - Force - Recurse - ErrorAction SilentlyContinue
1417exit 0
You can’t perform that action at this time.
0 commit comments