From 7bbf8fc2ad365766053b4aa689b9a08b4faafd9c Mon Sep 17 00:00:00 2001 From: bbhtt Date: Tue, 2 Jun 2026 08:02:49 +0530 Subject: [PATCH] ci: Collect logs at the last step and collect dist logs too Needed if the tests start failing during dist --- .github/workflows/check.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 8113f4bd..92e0d6e9 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -84,6 +84,11 @@ jobs: run: | timeout --signal=KILL -v ${TESTS_TIMEOUT}m meson test -C ${BUILDDIR} --verbose --timeout-multiplier ${MESON_TEST_TIMEOUT_MULTIPLIER} + - name: Create dist tarball + run: | + meson setup --wrap-mode nodownload --reconfigure ${CONFIG_OPTS} ${BUILDDIR}_dist . + meson dist --include-subprojects -C ${BUILDDIR}_dist + - name: Upload test logs # 7.0.0 uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f @@ -93,8 +98,4 @@ jobs: path: | builddir/meson-logs/testlog.txt installed-test-logs/ - - - name: Create dist tarball - run: | - meson setup --wrap-mode nodownload --reconfigure ${CONFIG_OPTS} ${BUILDDIR}_dist . - meson dist --include-subprojects -C ${BUILDDIR}_dist + builddir_dist/meson-private/dist-build/meson-logs/testlog.txt