Skip to content

Commit ad24095

Browse files
authored
Merge pull request #179 from bonachea/lfortran-0.63
[NO REVIEW] CI: Add LFortran v0.63 and deploy Action trigger control
2 parents f7475f8 + a3bc23b commit ad24095

2 files changed

Lines changed: 29 additions & 6 deletions

File tree

.github/workflows/build.yml

Lines changed: 23 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,18 @@
11
name: Build
22

3-
on: [push, pull_request]
3+
on:
4+
push:
5+
paths-ignore: &paths_ignore
6+
- 'doc/**'
7+
- '**.txt'
8+
- '**.md'
9+
pull_request:
10+
paths-ignore: *paths_ignore
11+
12+
concurrency:
13+
# De-duplicate concurrent workflow runs on the same branch/ref
14+
group: ${{ github.workflow }}-${{ github.head_ref || github.ref_name }}
15+
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
416

517
defaults:
618
run:
@@ -94,19 +106,24 @@ jobs:
94106
compiler: lfortran
95107
version: 0.61.0
96108
container: phhargrove/lfortran:0.61.0-1
97-
extra_flags: --separate-compilation --realloc-lhs-arrays
98109
- os: ubuntu-24.04
99110
compiler: lfortran
100111
version: 0.62.0
101112
container: phhargrove/lfortran:0.62.0-1
102-
extra_flags: --separate-compilation --realloc-lhs-arrays
113+
- os: ubuntu-24.04
114+
compiler: lfortran
115+
version: 0.63.0
116+
container: phhargrove/lfortran:0.63.0-1
103117

104118
# https://github.com/lfortran/lfortran/pkgs/container/lfortran
119+
- os: ubuntu-22.04
120+
compiler: lfortran
121+
version: 0.63.0
122+
container: ghcr.io/lfortran/lfortran:v0.63.0
105123
- os: ubuntu-22.04
106124
compiler: lfortran
107125
version: latest
108126
container: ghcr.io/lfortran/lfortran:latest
109-
extra_flags: --separate-compilation --realloc-lhs-arrays
110127

111128
container:
112129
image: ${{ matrix.container }}
@@ -119,7 +136,7 @@ jobs:
119136

120137
steps:
121138
- name: Checkout code
122-
uses: actions/checkout@v4
139+
uses: actions/checkout@v6
123140

124141
- name: Install Dependencies Ubuntu
125142
if: ${{ contains(matrix.os, 'ubuntu') && matrix.compiler == 'gfortran' && matrix.version == '15' }}
@@ -191,7 +208,7 @@ jobs:
191208
: echo "FOR_COARRAY_MPI_VERBOSE=1" >> "$GITHUB_ENV" ; \
192209
elif test "$FC" = "lfortran" ; then \
193210
echo "FPM_FC=lfortran" >> "$GITHUB_ENV" ; \
194-
echo "FFLAGS=--cpp $FFLAGS" >> "$GITHUB_ENV" ; \
211+
echo "FFLAGS=--cpp --separate-compilation --realloc-lhs-arrays $FFLAGS" >> "$GITHUB_ENV" ; \
195212
echo "FPM_FLAGS=--profile debug --verbose" >> "$GITHUB_ENV" ; : fpm 0.13 workaround ; \
196213
else \
197214
echo "FPM_FC=gfortran-${COMPILER_VERSION}" >> "$GITHUB_ENV" ; \

.github/workflows/deploy-docs.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,14 @@ name: Build and Deploy Documentation
22

33
on: [push, pull_request]
44

5+
concurrency:
6+
# De-duplicate concurrent workflow runs on the same branch/ref
7+
group: ${{ github.workflow }}-${{ github.head_ref || github.ref_name }}
8+
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
9+
510
jobs:
611
Build:
12+
name: FORD docs
713
runs-on: ubuntu-22.04
814

915
steps:

0 commit comments

Comments
 (0)