mirror of
https://github.com/dlang/dmd.git
synced 2025-04-25 20:50:41 +03:00
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:
parent
515f395d28
commit
86b71a29ed
2 changed files with 18 additions and 3 deletions
7
.github/workflows/main.yml
vendored
7
.github/workflows/main.yml
vendored
|
@ -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::'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue