Skip to content

Commit ce6c61b

Browse files
committed
actions/ version
1 parent 5b89b1b commit ce6c61b

File tree

5 files changed

+26
-16
lines changed

5 files changed

+26
-16
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636

3737
steps:
3838

39-
- uses: actions/setup-python@v2
39+
- uses: actions/setup-python@v4
4040
with:
4141
python-version: '3.10'
4242

@@ -53,7 +53,7 @@ jobs:
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

@@ -83,8 +83,8 @@ jobs:
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

.github/workflows/ci_build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
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 }}

.github/workflows/ci_fpm.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
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:

.github/workflows/intel-oneapi.yml

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
name: intel-oneapi
22

33
env:
4-
CTEST_PARALLEL_LEVEL: 2
54
CMAKE_GENERATOR: Ninja
65
CC: icx
76
FC: ifx
87

98
on:
109
push:
1110
paths:
11+
- "**.c"
12+
- "**.cpp"
1213
- "**.f90"
1314
- "**.F90"
1415
- "**.cmake"
@@ -18,7 +19,7 @@ on:
1819

1920
jobs:
2021

21-
linux-intel-oneapi:
22+
linux:
2223
runs-on: ubuntu-latest
2324
timeout-minutes: 10
2425

@@ -45,7 +46,7 @@ jobs:
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

.github/workflows/oneapi_cache_exclude_windows.ps1

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,8 @@ Remove-Item "C:\Program Files (x86)\Intel\oneAPI\compiler\$LATEST_VERSION\window
1010
Remove-Item "C:\Program Files (x86)\Intel\oneAPI\compiler\$LATEST_VERSION\windows\lib\oclfpga" -Force -Recurse -ErrorAction SilentlyContinue
1111
Remove-Item "C:\Program Files (x86)\Intel\oneAPI\compiler\$LATEST_VERSION\windows\lib\ocloc" -Force -Recurse -ErrorAction SilentlyContinue
1212
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
1417
exit 0

0 commit comments

Comments
 (0)