Skip to content

Commit 107dc05

Browse files
authored
Add chapel-code-smoke-test GA job (#29069)
Add a GA job `chapel-code-smoke-test`, which runs `./util/buildRelease/smokeTest` on: - linux comm=none - linux comm=gasnet - macos comm=none Note to reviewer: Best to review changes as a whole, as I did a lot of experimenting along the way. [reviewed by @jabraham17 , thanks!]
2 parents 39c7ff2 + 7a7107d commit 107dc05

1 file changed

Lines changed: 50 additions & 0 deletions

File tree

.github/workflows/CI.yml

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -301,6 +301,55 @@ jobs:
301301
run: |
302302
make test-chpl-language-server -j`util/buildRelease/chpl-make-cpu_count`
303303
304+
chapel-code-smoke-test:
305+
strategy:
306+
fail-fast: false
307+
matrix:
308+
os: [ubuntu-latest, macos-latest]
309+
config: [gasnet, none]
310+
exclude:
311+
- os: macos-latest
312+
config: gasnet
313+
runs-on: ${{ matrix.os }}
314+
steps:
315+
- name: print config info
316+
run: |
317+
echo "${{ matrix.os }}"
318+
echo "${{ matrix.config }}"
319+
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
320+
- name: install deps
321+
run: |
322+
if [[ "${{ matrix.os }}" == "macos"* ]] ; then
323+
brew install llvm
324+
else
325+
sudo apt install \
326+
clang \
327+
libclang-dev \
328+
libclang-cpp-dev \
329+
libedit-dev \
330+
llvm \
331+
llvm-dev
332+
fi
333+
- name: setup env and run ./util/buildRelease/smokeTest
334+
run: |
335+
set -ex
336+
337+
source ./util/cron/common.bash
338+
339+
if [[ "${{ matrix.os }}" == "macos"* ]] ; then
340+
source ./util/cron/common-darwin.bash
341+
fi
342+
343+
if [[ "${{ matrix.config }}" == "gasnet" ]] ; then
344+
source ./util/cron/common-gasnet.bash
345+
# Silence warnings about not using ibv despite ibv hardware presence
346+
export GASNET_QUIET=yes
347+
fi
348+
349+
export NIGHTLY_TEST_SETTINGS=true
350+
351+
./util/buildRelease/smokeTest
352+
304353
# This job exists to have a single check for which failure means merging
305354
# should be blocked, for GH required status checks purposes.
306355
# It runs (and fails) if any of the jobs listed in its `needs` ran and
@@ -325,6 +374,7 @@ jobs:
325374
- run-shellcheck
326375
- check-format
327376
- test_chpl_language_server
377+
- chapel-code-smoke-test
328378
steps:
329379
- name: Fail
330380
run: |

0 commit comments

Comments
 (0)