Files
medicallib_rust/.gitea/workflows/multi-platform.yml
T
zack3d 641114de60
Quick CI / quick-test (push) Failing after 1m15s
Multi-Platform CI / test-platforms (macos-latest, aarch64-apple-darwin) (push) Failing after 56s
Multi-Platform CI / test-platforms (macos-latest, x86_64-apple-darwin) (push) Failing after 40s
Multi-Platform CI / test-platforms (ubuntu-22.04, aarch64-unknown-linux-gnu) (push) Failing after 1m20s
Multi-Platform CI / test-platforms (ubuntu-22.04, x86_64-unknown-linux-gnu) (push) Failing after 40s
Multi-Platform CI / test-platforms (windows-latest, aarch64-pc-windows-msvc) (push) Failing after 40s
Multi-Platform CI / test-platforms (windows-latest, x86_64-pc-windows-msvc) (push) Failing after 39s
Multi-Platform CI / test-native (macos-latest) (push) Failing after 1m16s
Multi-Platform CI / test-native (ubuntu-22.04) (push) Failing after 1m16s
Multi-Platform CI / test-native (windows-latest) (push) Failing after 1m17s
Multi-Platform CI / package (macos-latest, aarch64-apple-darwin) (push) Has been skipped
Multi-Platform CI / package (macos-latest, x86_64-apple-darwin) (push) Has been skipped
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
wf
2025-09-21 22:47:43 -07:00

70 lines
1.7 KiB
YAML

name: Multi-Platform CI
on:
push:
pull_request:
jobs:
# Test on all platforms
test-platforms:
strategy:
fail-fast: false
matrix:
include:
# Linux platforms
- os: ubuntu-22.04
target: x86_64-unknown-linux-gnu
- os: ubuntu-22.04
target: aarch64-unknown-linux-gnu
# macOS platforms
- os: macos-latest
target: x86_64-apple-darwin
- os: macos-latest
target: aarch64-apple-darwin
# Windows platforms
- os: windows-latest
target: x86_64-pc-windows-msvc
- os: windows-latest
target: aarch64-pc-windows-msvc
uses: ./.gitea/workflows/ci-reusable.yml
with:
os: ${{ matrix.os }}
target: ${{ matrix.target }}
upload-artifacts: false
# Test native builds (no cross-compilation)
test-native:
strategy:
fail-fast: false
matrix:
os: [ubuntu-22.04, macos-latest, windows-latest]
uses: ./.gitea/workflows/ci-reusable.yml
with:
os: ${{ matrix.os }}
upload-artifacts: false
# Package for distribution (only on master)
package:
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
needs: [test-platforms, test-native]
strategy:
matrix:
include:
- os: ubuntu-22.04
target: x86_64-unknown-linux-gnu
- os: macos-latest
target: x86_64-apple-darwin
- os: macos-latest
target: aarch64-apple-darwin
- os: windows-latest
target: x86_64-pc-windows-msvc
uses: ./.gitea/workflows/ci-reusable.yml
with:
os: ${{ matrix.os }}
target: ${{ matrix.target }}
upload-artifacts: true