File tree Expand file tree Collapse file tree 1 file changed +16
-3
lines changed Expand file tree Collapse file tree 1 file changed +16
-3
lines changed Original file line number Diff line number Diff line change 84
84
version : 0.54.0
85
85
container : phhargrove/lfortran:0.54.0-1
86
86
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
+
87
93
container :
88
94
image : ${{ matrix.container }}
89
95
@@ -113,7 +119,13 @@ jobs:
113
119
run : |
114
120
set -x
115
121
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
117
129
118
130
- name : Install macOS Dependencies
119
131
if : contains(matrix.os, 'macos') && matrix.compiler == 'flang'
@@ -166,8 +178,9 @@ jobs:
166
178
167
179
- name : Version info
168
180
run : |
169
- set -x
170
181
echo == TOOL VERSIONS ==
182
+ echo PATH="$PATH"
183
+ set -x
171
184
uname -a
172
185
if test -r /etc/os-release ; then cat /etc/os-release ; fi
173
186
${FPM_FC} --version
@@ -190,7 +203,7 @@ jobs:
190
203
( set +e ; eval fpm run --example invoke-via-macro ${FPM_FLAGS} --flag \"$FFLAGS\" $CHECK_ASSERT )
191
204
192
205
- name : Test Assertions w/ Parallel Callbacks
193
- if : ${{ matrix.compiler != 'lfortran' }} # issue #68
206
+ if : ${{ matrix.compiler != 'lfortran' || matrix.version == 'latest' }} # issue #68
194
207
env :
195
208
FPM_FLAGS : ${{ env.FPM_FLAGS }} --flag -DASSERT_MULTI_IMAGE --flag -DASSERT_PARALLEL_CALLBACKS
196
209
run : |
You can’t perform that action at this time.
0 commit comments