Skip to content

feat(diagram): recover Graphviz DOT from vector SVG diagrams #536

feat(diagram): recover Graphviz DOT from vector SVG diagrams

feat(diagram): recover Graphviz DOT from vector SVG diagrams #536

Workflow file for this run

name: CI Mobile
on:
push:
branches: [main]
paths:
- "crates/xberg/**"
- "crates/xberg-ffi/**"
- "crates/xberg-dart/**"
- "crates/xberg-swift/**"
- "crates/xberg-jni/**"
- "packages/dart/**"
- "packages/swift/**"
- "packages/kotlin-android/**"
- ".github/workflows/ci-mobile.yaml"
pull_request:
branches: [main]
paths:
- "crates/xberg/**"
- "crates/xberg-ffi/**"
- "crates/xberg-dart/**"
- "crates/xberg-swift/**"
- "crates/xberg-jni/**"
- "packages/dart/**"
- "packages/swift/**"
- "packages/kotlin-android/**"
- ".github/workflows/ci-mobile.yaml"
workflow_dispatch:
concurrency:
group: ci-mobile-${{ github.ref }}
cancel-in-progress: true
env:
CARGO_TERM_COLOR: always
CARGO_INCREMENTAL: 0
CARGO_PROFILE_DEV_DEBUG: 0
RUST_BACKTRACE: short
RUSTFLAGS: "-D warnings -A dead_code -A unexpected_cfgs -A unpredictable-function-pointer-comparisons -A mismatched-lifetime-syntaxes"
permissions:
contents: read
jobs:
android-check:
name: Android cargo check (${{ matrix.abi }})
if: github.repository == 'xberg-io/xberg' && github.actor != 'dependabot[bot]'
runs-on: ubuntu-latest
timeout-minutes: 30
strategy:
fail-fast: false
matrix:
abi: [arm64-v8a, x86_64]
steps:
- uses: actions/checkout@v6
- uses: xberg-io/actions/setup-rust@v1
with:
cache-key-prefix: ci-mobile-android-${{ matrix.abi }}
use-sccache: "true"
- uses: xberg-io/actions/setup-android-ndk@v1
- name: cargo ndk check xberg-dart
run: cargo ndk --target ${{ matrix.abi }} --platform 21 -- check -p xberg-dart --no-default-features --features android-target
- name: cargo ndk check xberg-ffi
run: cargo ndk --target ${{ matrix.abi }} --platform 21 -- check -p xberg-ffi --no-default-features --features android-target
ios-check:
name: iOS cargo check (${{ matrix.target }})
if: github.repository == 'xberg-io/xberg' && github.actor != 'dependabot[bot]'
runs-on: macos-latest
timeout-minutes: 30
strategy:
fail-fast: false
matrix:
target: [aarch64-apple-ios, aarch64-apple-ios-sim]
steps:
- uses: actions/checkout@v6
- uses: xberg-io/actions/setup-rust@v1
with:
target: ${{ matrix.target }}
cache-key-prefix: ci-mobile-ios-${{ matrix.target }}
use-sccache: "true"
- name: cargo check xberg-dart
run: cargo check --locked -p xberg-dart --target ${{ matrix.target }}
- name: cargo check xberg-swift
run: cargo check --locked -p xberg-swift --target ${{ matrix.target }}