File tree Expand file tree Collapse file tree 2 files changed +11
-9
lines changed Expand file tree Collapse file tree 2 files changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -10,11 +10,11 @@ jobs:
10
10
11
11
env :
12
12
FC : gfortran
13
- GCC_V : 10
13
+ GCC_V : 11
14
14
15
15
steps :
16
16
- name : Checkout code
17
- uses : actions/checkout@v2
17
+ uses : actions/checkout@v3
18
18
19
19
- name : Install Dependencies
20
20
run : |
24
24
- name : Build and Test
25
25
run : |
26
26
mkdir build
27
- cd build
28
- cmake -Wdev -DCMAKE_INSTALL_PREFIX:PATH="${HOME}/OpenCoarrays" -DCMAKE_BUILD_TYPE:STRING="Debug" ..
29
- make -j $(nproc)
27
+ cmake -S . -B build -Wdev -DCMAKE_INSTALL_PREFIX:PATH="${HOME}/OpenCoarrays" -DCMAKE_BUILD_TYPE:STRING="Debug" ..
28
+ cmake --build build make -j $(nproc)
29
+ cmake --build -t install -j || echo "installation failed"
30
30
ctest --output-on-failure --schedule-random --repeat-until-fail 1 --timeout 200
31
31
make install
32
32
make uninstall
Original file line number Diff line number Diff line change 1
- name : CI
1
+ name : Windows CI
2
2
3
3
on : [push, pull_request]
4
4
@@ -17,15 +17,15 @@ jobs:
17
17
18
18
steps :
19
19
- name : Checkout code
20
- uses : actions/checkout@v2
20
+ uses : actions/checkout@v3
21
21
22
22
- name : Install Dependencies
23
23
uses : msys2/setup-msys2@v2
24
24
with :
25
25
update : true
26
26
path-type : inherit
27
27
install : >-
28
- mingw-w64-x86_64-gcc-fortran mingw-w64-x86_64-gcc mingw-w64-x86_64-wget
28
+ mingw-w64-x86_64-gcc-fortran mingw-w64-x86_64-gcc
29
29
30
30
- name : setup-mpi
31
31
id : setup-mpi
36
36
- name : MPI info
37
37
run : |
38
38
echo "${{ steps.setup-mpi.outputs.mpi }}"
39
+ set -o verbose
39
40
mpiexec -help
40
41
type mpiexec
41
42
ls "${I_MPI_ROOT}/bin"
@@ -45,13 +46,14 @@ jobs:
45
46
mpicc.bat -show
46
47
mpifc.bat -version || echo "ifort not installed"
47
48
mpicc.bat -version || echo "icc not installed"
49
+ set +o verbose
48
50
49
51
- name : Build and Test
50
52
run : |
51
53
mkdir build
52
54
cmake -Wdev -G "Unix Makefiles" -S . -B build -DCMAKE_INSTALL_PREFIX="${HOME}/apps/OpenCoarrays" -DCMAKE_BUILD_TYPE:STRING="Debug"
53
55
cmake --build build -j
54
- cmake --build -t install -j || echo "installation failed"
56
+ cmake --build build -t install -j || echo "installation failed"
55
57
cd build
56
58
ctest --output-on-failure --schedule-random --repeat-until-fail 1 --timeout 200
57
59
cd ..
You can’t perform that action at this time.
0 commit comments