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 36
36
37
37
steps :
38
38
39
- - uses : actions/setup-python@v2
39
+ - uses : actions/setup-python@v4
40
40
with :
41
41
python-version : ' 3.10'
42
42
53
53
if : runner.os == 'macOS'
54
54
run : brew install hdf5-mpi ninja ${{ matrix.mpi }}
55
55
56
- - uses : actions/checkout@v2
56
+ - uses : actions/checkout@v3
57
57
58
58
- run : cmake --preset multi -DCMAKE_INSTALL_PREFIX=${{ runner.temp }} -DBUILD_SHARED_LIBS:BOOL=${{ matrix.shared }}
59
59
83
83
timeout-minutes : 10
84
84
85
85
steps :
86
- - uses : actions/checkout@v2
87
- - uses : actions/setup-python@v2
86
+ - uses : actions/checkout@v3
87
+ - uses : actions/setup-python@v4
88
88
with :
89
89
python-version : ' 3.x'
90
90
Original file line number Diff line number Diff line change 39
39
if : runner.os == 'macOS'
40
40
run : brew install ${{ matrix.mpi }}
41
41
42
- - uses : actions/checkout@v2
42
+ - uses : actions/checkout@v3
43
43
44
44
- name : Configure HDF5-MPI
45
45
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 27
27
sudo apt update
28
28
sudo apt install --no-install-recommends libhdf5-openmpi-dev libopenmpi-dev openmpi-bin
29
29
30
- - uses : actions/checkout@v2
30
+ - uses : actions/checkout@v3
31
31
32
32
- run : fpm build
33
33
env :
Original file line number Diff line number Diff line change 1
1
name : intel-oneapi
2
2
3
3
env :
4
- CTEST_PARALLEL_LEVEL : 2
5
4
CMAKE_GENERATOR : Ninja
6
5
CC : icx
7
6
FC : ifx
8
7
9
8
on :
10
9
push :
11
10
paths :
11
+ - " **.c"
12
+ - " **.cpp"
12
13
- " **.f90"
13
14
- " **.F90"
14
15
- " **.cmake"
18
19
19
20
jobs :
20
21
21
- linux-intel-oneapi :
22
+ linux :
22
23
runs-on : ubuntu-latest
23
24
timeout-minutes : 10
24
25
45
46
source /opt/intel/oneapi/setvars.sh
46
47
printenv >> $GITHUB_ENV
47
48
48
- - uses : actions/checkout@v2
49
+ - uses : actions/checkout@v3
49
50
50
51
- name : Configure HDF5
51
52
run : cmake -S scripts -B scripts/build -DCMAKE_INSTALL_PREFIX=${{ runner.temp }} -DBUILD_SHARED_LIBS:BOOL=${{ matrix.shared }}
@@ -71,12 +72,18 @@ jobs:
71
72
- name : debug unit test
72
73
run : ctest --preset debug --output-junit test-debug-oneapi.xml
73
74
74
- - name : Install our package
75
+ - name : install package
75
76
run : cmake --install build
76
77
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
82
89
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
10
10
Remove-Item " C:\Program Files (x86)\Intel\oneAPI\compiler\$LATEST_VERSION \windows\lib\oclfpga" - Force - Recurse - ErrorAction SilentlyContinue
11
11
Remove-Item " C:\Program Files (x86)\Intel\oneAPI\compiler\$LATEST_VERSION \windows\lib\ocloc" - Force - Recurse - ErrorAction SilentlyContinue
12
12
Remove-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
14
17
exit 0
You can’t perform that action at this time.
0 commit comments