Skip to content

Commit 9f3e175

Browse files
authored
Update cross-platform-build-verification.yml
1 parent 80b93b3 commit 9f3e175

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

.github/workflows/cross-platform-build-verification.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -144,11 +144,13 @@ jobs:
144144

145145
- name: Test
146146
run: |
147-
# For ARM64 emulation, use workspace subdirectory instead of temp dir
148-
# This avoids QEMU emulation issues with temporary directory mounting
147+
# For ARM64 emulation, use a dedicated test directory outside workspace
148+
# This avoids both QEMU /tmp issues and recursive copy problems
149149
if [[ "${{ matrix.platform }}" == "linux/arm64" ]]; then
150-
TEST_DIR="${GITHUB_WORKSPACE}/.test-isolated-${{ matrix.distro }}"
151-
TEST_DIR="${TEST_DIR//:/}" # Remove colons from distro name
150+
# Use /var/tmp which is more persistent and reliable for QEMU
151+
SAFE_DISTRO="${{ matrix.distro }}"
152+
SAFE_DISTRO="${SAFE_DISTRO//:/}" # Remove colons
153+
TEST_DIR="/var/tmp/omnipkg-test-${SAFE_DISTRO}-$"
152154
mkdir -p "$TEST_DIR"
153155
trap "rm -rf $TEST_DIR" EXIT
154156
else

0 commit comments

Comments
 (0)