Skip to content

Commit c868334

Browse files
committed
CI: Add native multi-image test
1 parent b76c2a5 commit c868334

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/build.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ jobs:
4040
compiler: flang
4141
version: latest
4242
network: smp
43+
native_multi_image: 1
44+
FFLAGS: -fcoarray -DHAVE_SYNC=0 -DHAVE_COLLECTIVES=0
4345
# https://hub.docker.com/r/snowstep/llvm/tags
4446
container: snowstep/llvm:focal
4547
- os: ubuntu-24.04
@@ -131,6 +133,10 @@ jobs:
131133
if test "${{ matrix.network }}" = "udp"; then \
132134
echo "GASNET_SUPERNODE_MAXSIZE=1" >> "$GITHUB_ENV" ; \
133135
fi
136+
if (( ${{ matrix.native_multi_image }} )); then \
137+
echo "FFLAGS=$FFLAGS -DHAVE_MULTI_IMAGE" >> "$GITHUB_ENV" ; \
138+
fi
139+
134140
135141
- name: Checkout code
136142
uses: actions/checkout@v1
@@ -201,6 +207,11 @@ jobs:
201207
set -x
202208
./build/run-fpm.sh run --verbose --example hello
203209
210+
- name: Run native multi-image test
211+
if: ${{ matrix.native_multi_image }}
212+
run: |
213+
set -x ; ./build/run-fpm.sh run --verbose
214+
204215
- name: Run unit tests
205216
run: |
206217
echo SUBJOB_PREFIX=${SUBJOB_PREFIX}

0 commit comments

Comments
 (0)