11name : 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
517defaults :
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" ; \
0 commit comments