Skip to content

Commit ba6c205

Browse files
committed
CI: Work around musl AArch64 failures caused by empty exception backtraces
1 parent 487049e commit ba6c205

File tree

3 files changed

+20
-2
lines changed

3 files changed

+20
-2
lines changed

.github/actions/4b-test-lit/action.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ runs:
1616
# FIXME: the following tests fail
1717
rm tests/debuginfo/nested_gdb.d
1818
rm tests/sanitizers/fuzz_basic.d
19+
if type -P apk &>/dev/null; then
20+
# FIXME: empty exception backtrace on musl AArch64
21+
rm tests/codegen/exception_strack_trace.d
22+
fi
1923
fi
2024
2125
cd ../build

.github/actions/4c-test-dmd/action.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,25 @@
11
name: Run DMD testsuite
22
inputs:
33
arch:
4-
required: false # Windows only
4+
required: true
55
runs:
66
using: composite
77
steps:
88

99
- name: 'Posix: Run DMD testsuite'
1010
if: runner.os != 'Windows'
1111
shell: bash
12-
run: cd ../build && ctest -V -R "dmd-testsuite"
12+
run: |
13+
set -eux
14+
15+
if [[ '${{ inputs.arch }}' == aarch64 ]] && type -P apk &>/dev/null; then
16+
# FIXME: empty exception backtraces on musl AArch64 with enabled optimizations
17+
rm tests/dmd/runnable/test19086.d
18+
rm tests/dmd/runnable/test17559.d
19+
fi
20+
21+
cd ../build
22+
ctest -V -R "dmd-testsuite"
1323
1424
- name: 'Windows: Run DMD testsuite'
1525
if: runner.os == 'Windows'

.github/actions/4d-test-libs/action.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ runs:
2525
elif [[ '${{ runner.os }}-${{ inputs.arch }}' == Linux-aarch64 ]]; then
2626
# FIXME: sporadically hanging
2727
excludes+='|^core.thread-shared$'
28+
if type -P apk &>/dev/null; then
29+
# FIXME: empty exception backtraces on musl AArch64 with enabled optimizations
30+
excludes+='|^druntime-test-exceptions-release$'
31+
fi
2832
fi
2933
if [[ '${{ runner.os }}' == macOS ]]; then
3034
# FIXME: https://github.com/dlang/phobos/issues/10730

0 commit comments

Comments
 (0)