Skip to content

Commit 0382145

Browse files
committed
print logs
1 parent c40da28 commit 0382145

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

.github/workflows/main.yaml

+7-4
Original file line numberDiff line numberDiff line change
@@ -182,10 +182,13 @@ jobs:
182182
# if: matrix.os == 'ubuntu-24.04'
183183
# run: ./ci/run-docker.sh ${{ matrix.target }}
184184

185-
# - name: Print test logs if available
186-
# if: always()
187-
# run: if [ -f "target/test-log.txt" ]; then cat target/test-log.txt; fi
188-
# shell: bash
185+
- name: Print test logs if available
186+
if: always()
187+
run: |
188+
if [ -f "target/test-log.txt" ]; then cat target/test-log.txt; fi
189+
set -x
190+
find . -name 'config.log' -exec cat {} ';'
191+
shell: bash
189192

190193
# # Workaround to keep Docker cache smaller
191194
# # https://github.com/docker/build-push-action/issues/252

ci/run.sh

+1
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,7 @@ case "$target" in
223223
# MSVC cannot link MPFR
224224
*windows-msvc*) ;;
225225
# Targets that aren't cross compiled in CI work fine
226+
i686-pc-windows-gnu) mflags+=(--features libm-test/build-mpfr --features gmp-mpfr-sys/force-cross) ;;
226227
*windows-gnu*) mflags+=(--features libm-test/build-mpfr) ;;
227228
aarch64*apple*) mflags+=(--features libm-test/build-mpfr) ;;
228229
aarch64*linux*) mflags+=(--features libm-test/build-mpfr) ;;

0 commit comments

Comments
 (0)