diff --git a/.github/workflows/alpine_musl.yml b/.github/workflows/alpine_musl.yml index acb7435034..7693060647 100644 --- a/.github/workflows/alpine_musl.yml +++ b/.github/workflows/alpine_musl.yml @@ -73,7 +73,16 @@ jobs: - name: Run DMD testsuite if: success() || failure() shell: alpine.sh {0} - run: ctest -V -R "dmd-testsuite" + run: | + # These two tests require extra flags "-link-defaultlib-debug -frame-pointer=all". + # Run them separately with these flags, and then remove them before running the full testsuite. + bin/ldc2 -g -L-export-dynamic -link-defaultlib-debug -frame-pointer=all -run tests/dmd/runnable/test17559.d + bin/ldc2 -O -g -L-export-dynamic -link-defaultlib-debug -frame-pointer=all -run tests/dmd/runnable/test17559.d + bin/ldc2 -g -L-export-dynamic -link-defaultlib-debug -frame-pointer=all -run tests/dmd/runnable/test19086.d + bin/ldc2 -O -g -L-export-dynamic -link-defaultlib-debug -frame-pointer=all -run tests/dmd/runnable/test19086.d + rm tests/dmd/runnable/test17559.d + rm tests/dmd/runnable/test19086.d + ctest -V -R "dmd-testsuite" - name: Run defaultlib unittests & druntime integration tests if: success() || failure()