From 67af5949c1187fd9b21116acc8439e070c254f68 Mon Sep 17 00:00:00 2001 From: Gaspard Kirira Date: Wed, 28 Jan 2026 09:42:27 +0300 Subject: [PATCH] ci(release): use ubuntu arm runner and always upload logs --- .github/workflows/release.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9d5f697..7acaebf 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,7 +19,7 @@ jobs: vixos: linux arch: x86_64 - - os: ubuntu-22.04 + - os: ubuntu-22.04-arm vixos: linux arch: aarch64 @@ -50,7 +50,7 @@ jobs: # Linux deps (native only) # ------------------------- - name: Install deps (Linux) - if: runner.os == 'Linux' && matrix.arch != 'aarch64' + if: runner.os == 'Linux' shell: bash run: | set -euxo pipefail @@ -185,6 +185,7 @@ jobs: set -euxo pipefail OUT="logs/${{ matrix.vixos }}-${{ matrix.arch }}" mkdir -p "$OUT" + echo "no logs captured (step failed before logs were generated)" > "$OUT/_no_logs.txt" test -f cmake_output.log && cp -f cmake_output.log "$OUT/" || true test -f build/CMakeCache.txt && cp -f build/CMakeCache.txt "$OUT/" || true test -f build/CMakeFiles/CMakeError.log && cp -f build/CMakeFiles/CMakeError.log "$OUT/" || true @@ -219,6 +220,10 @@ jobs: Copy-Item "build\CMakeFiles\CMakeConfigureLog.yaml" $out -Force } + if (-not (Get-ChildItem -File $out -ErrorAction SilentlyContinue)) { + "no logs captured (step failed before logs were generated)" | Out-File (Join-Path $out "_no_logs.txt") -Encoding utf8 + } + if (Test-Path "build") { Compress-Archive -Path "build\*" -DestinationPath "$out\build.zip" -Force }