File tree Expand file tree Collapse file tree 2 files changed +42
-1
lines changed Expand file tree Collapse file tree 2 files changed +42
-1
lines changed Original file line number Diff line number Diff line change 1
- name : CI
1
+ name : Build with gfortran
2
2
3
3
on : [push, pull_request]
4
4
Original file line number Diff line number Diff line change
1
+ name : Build with LLVM Flang
2
+
3
+ on : [push, pull_request]
4
+
5
+
6
+ jobs :
7
+ Build :
8
+ runs-on : ${{ matrix.os }}
9
+ strategy :
10
+ matrix :
11
+ os : [ubuntu-24.04]
12
+ fail-fast : true
13
+ container : gmao/llvm-flang:latest
14
+ env :
15
+ FC : flang-new
16
+ CC : clang
17
+
18
+ steps :
19
+ - name : Checkout code
20
+ uses : actions/checkout@v2
21
+
22
+ - uses : fortran-lang/setup-fpm@v4
23
+ with :
24
+ github-token : ${{ secrets.GITHUB_TOKEN }}
25
+
26
+ - name : Build with LLVM Flang
27
+ if : contains(matrix.os, 'ubuntu')
28
+ run : |
29
+ fpm --version
30
+ $FC --version
31
+ $CC --version
32
+ export FPM_FC=$FC
33
+ export FPM_CC=$CC
34
+ apt update
35
+ apt install -y build-essential pkg-config make
36
+ ./install.sh
37
+
38
+ - name : Run unit tests
39
+ run : |
40
+ export GASNET_PSHM_NODES=8
41
+ ./build/run-fpm.sh test -- -d
You can’t perform that action at this time.
0 commit comments