File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 8484 version : 0.54.0
8585 container : phhargrove/lfortran:0.54.0-1
8686
87+ # https://github.com/lfortran/lfortran/pkgs/container/lfortran
88+ - os : ubuntu-22.04
89+ compiler : lfortran
90+ version : latest
91+ container : ghcr.io/lfortran/lfortran:latest
92+
8793 container :
8894 image : ${{ matrix.container }}
8995
@@ -113,7 +119,13 @@ jobs:
113119 run : |
114120 set -x
115121 apt update
116- apt install -y build-essential pkg-config make git curl
122+ apt install -y build-essential # pkg-config make git curl
123+ # Add container lfortran to PATH:
124+ if test "$FC" = "lfortran"; then \
125+ echo "/app/bin" >> "$GITHUB_PATH" ; \
126+ ls -alh /app/bin ; \
127+ ls -alh /app/share/lfortran/lib/ ; \
128+ fi
117129
118130 - name : Install macOS Dependencies
119131 if : contains(matrix.os, 'macos') && matrix.compiler == 'flang'
@@ -166,8 +178,9 @@ jobs:
166178
167179 - name : Version info
168180 run : |
169- set -x
170181 echo == TOOL VERSIONS ==
182+ echo PATH="$PATH"
183+ set -x
171184 uname -a
172185 if test -r /etc/os-release ; then cat /etc/os-release ; fi
173186 ${FPM_FC} --version
@@ -190,7 +203,7 @@ jobs:
190203 ( set +e ; eval fpm run --example invoke-via-macro ${FPM_FLAGS} --flag \"$FFLAGS\" $CHECK_ASSERT )
191204
192205 - name : Test Assertions w/ Parallel Callbacks
193- if : ${{ matrix.compiler != 'lfortran' }} # issue #68
206+ if : ${{ matrix.compiler != 'lfortran' || matrix.version == 'latest' }} # issue #68
194207 env :
195208 FPM_FLAGS : ${{ env.FPM_FLAGS }} --flag -DASSERT_MULTI_IMAGE --flag -DASSERT_PARALLEL_CALLBACKS
196209 run : |
You can’t perform that action at this time.
0 commit comments