CI: Add self-compile step to GHA main jobs (#16586)

This test making sure that DMD can successfully build itself got lost
when disabling/commenting-out the coverage jobs.
This commit is contained in:
Martin Kinkelin 2024-06-16 10:50:58 +02:00 committed by GitHub
parent 515f395d28
commit 86b71a29ed
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 18 additions and 3 deletions

View file

@ -163,6 +163,9 @@ jobs:
- name: Test phobos
if: '!matrix.coverage'
run: ci/run.sh test_phobos
- name: Test self-compile
if: '!matrix.coverage' # already re-built with enabled coverage
run: ENABLE_RELEASE=0 ci/run.sh rebuild
- name: Upload coverage report
if: matrix.coverage
run: ci/run.sh codecov
@ -252,3 +255,7 @@ jobs:
echo '::group::Test phobos'
ci/run.sh test_phobos
echo '::endgroup::'
echo '::group::Test self-compile'
ENABLE_RELEASE=0 ci/run.sh rebuild
echo '::endgroup::'