File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments