-
Notifications
You must be signed in to change notification settings - Fork 60
52 lines (43 loc) · 950 Bytes
/
make.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
name: Makefile CI
on:
push:
paths-exclude:
- '.github/workflows/cmake.yml'
- '.gitignore'
- 'README'
- '**README'
- 'LICENSE'
- 'CMAKE**'
- '**CMakeLists.txt'
pull_request:
paths-exclude:
- '.github/workflows/cmake.yml'
- '.gitignore'
- 'README'
- '**README'
- 'LICENSE'
- 'CMAKE**'
- '**CMakeLists.txt'
defaults:
run:
shell: bash
jobs:
build-all:
runs-on: ubuntu-latest
steps:
- name: Checkout ScaLAPACK
uses: actions/checkout@v2
- name: Setup MPI
uses: mpi4py/setup-mpi@v1
- name: Build ScaLAPACK
run: |
cp SLmake.inc.example SLmake.inc
make --silent -j lib
make --silent all
- name: Run examples
working-directory: ${{github.workspace}}/EXAMPLE
run: |
mpiexec -n 4 ./xsscaex
mpiexec -n 4 ./xdscaex
mpiexec -n 4 ./xcscaex
mpiexec -n 4 ./xzscaex