pain
Quick CI / quick-test (push) Failing after 1m18s
Multi-Platform CI / test-platforms (ubuntu-22.04, x86_64-unknown-linux-gnu) (push) Failing after 1m35s
Multi-Platform CI / test-platforms (windows-latest, x86_64-pc-windows-msvc) (push) Failing after 40s
Multi-Platform CI / test-native (ubuntu-22.04) (push) Failing after 1m14s
Multi-Platform CI / test-native (windows-latest) (push) Failing after 1m14s
Multi-Platform CI / package (ubuntu-22.04, x86_64-unknown-linux-gnu) (push) Has been skipped
Multi-Platform CI / package (windows-latest, x86_64-pc-windows-msvc) (push) Has been skipped

This commit is contained in:
2025-09-21 23:13:49 -07:00
parent 904f369c54
commit 8095743cbf
2 changed files with 12 additions and 2 deletions
+11 -1
View File
@@ -26,13 +26,23 @@ jobs:
components: clippy, rustfmt components: clippy, rustfmt
targets: ${{ inputs.target }} targets: ${{ inputs.target }}
- name: Install cross-compilation tools (x86_64 on ARM64)
if: runner.os == 'Linux' && runner.arch == 'ARM64' && inputs.target == 'x86_64-unknown-linux-gnu'
run: |
sudo apt-get update
sudo apt-get install -y gcc-x86-64-linux-gnu
- name: Configure cross-compilation (x86_64 on ARM64)
if: runner.os == 'Linux' && runner.arch == 'ARM64' && inputs.target == 'x86_64-unknown-linux-gnu'
run: |
echo "CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_LINKER=x86_64-linux-gnu-gcc" >> $GITHUB_ENV
- name: Build - name: Build
run: | run: |
${{ inputs.target && format('cargo build --all-features --target {0}', inputs.target) || 'cargo build --all-features' }} ${{ inputs.target && format('cargo build --all-features --target {0}', inputs.target) || 'cargo build --all-features' }}
- name: Test - name: Test
if: inputs.target == '' || (runner.os == 'Linux' && inputs.target == 'x86_64-unknown-linux-gnu') || (runner.os == 'macOS' && ((runner.arch == 'ARM64' && inputs.target == 'aarch64-apple-darwin') || (runner.arch == 'X64' && inputs.target == 'x86_64-apple-darwin'))) || (runner.os == 'Windows' && inputs.target == 'x86_64-pc-windows-msvc') if: inputs.target == '' || (runner.os == 'Linux' && inputs.target == 'x86_64-unknown-linux-gnu') || (runner.os == 'Windows' && inputs.target == 'x86_64-pc-windows-msvc')
run: | run: |
${{ inputs.target && format('cargo test --all-features --target {0}', inputs.target) || 'cargo test --all-features' }} ${{ inputs.target && format('cargo test --all-features --target {0}', inputs.target) || 'cargo test --all-features' }}
+1 -1
View File
@@ -11,7 +11,7 @@ jobs:
fail-fast: false fail-fast: false
matrix: matrix:
include: include:
# Linux native targets only # Linux x86_64 target (may cross-compile on ARM runners)
- os: ubuntu-22.04 - os: ubuntu-22.04
target: x86_64-unknown-linux-gnu target: x86_64-unknown-linux-gnu