File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 8585 version : 2025.2.0
8686 container : intel/fortran-essentials:2025.2.0-0-devel-ubuntu24.04
8787
88+ # --- LFortran coverage ---
89+
90+ # https://hub.docker.com/r/phhargrove/lfortran/tags
91+ # - os: ubuntu-24.04
92+ # compiler: lfortran
93+ # version: 0.54.0
94+ # container: phhargrove/lfortran:0.54.0-1
95+
96+ # https://github.com/lfortran/lfortran/pkgs/container/lfortran
97+ - os : ubuntu-22.04
98+ compiler : lfortran
99+ version : latest
100+ container : ghcr.io/lfortran/lfortran:latest
101+ extra_flags : --separate-compilation --realloc-lhs-arrays
102+
88103 container :
89104 image : ${{ matrix.container }}
90105
@@ -129,6 +144,12 @@ jobs:
129144 set -x
130145 apt update
131146 apt install -y build-essential pkg-config make git curl
147+ # Add container lfortran to PATH:
148+ if test "$FC" = "lfortran"; then \
149+ echo "/app/bin" >> "$GITHUB_PATH" ; \
150+ ls -alh /app/bin ; \
151+ ls -alh /app/share/lfortran/lib/ ; \
152+ fi
132153
133154 - name : Install macOS Dependencies
134155 if : contains(matrix.os, 'macos')
@@ -168,6 +189,7 @@ jobs:
168189 elif test "$FC" = "lfortran" ; then \
169190 echo "FPM_FC=lfortran" >> "$GITHUB_ENV" ; \
170191 echo "FFLAGS=--cpp $FFLAGS" >> "$GITHUB_ENV" ; \
192+ echo "FPM_FLAGS=--profile debug --verbose" >> "$GITHUB_ENV" ; : fpm 0.13 workaround ; \
171193 else \
172194 echo "FPM_FC=gfortran-${COMPILER_VERSION}" >> "$GITHUB_ENV" ; \
173195 echo "FFLAGS=-ffree-line-length-0 $FFLAGS" >> "$GITHUB_ENV" ; \
You can’t perform that action at this time.
0 commit comments