test(layout): hand-built frames bind GNU's " *Minibuf-0*" like every … #261
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: build gate | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| workflow_dispatch: | |
| concurrency: | |
| group: ci-${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read | |
| jobs: | |
| check: | |
| name: cargo check workspace (${{ matrix.label }}) | |
| if: ${{ github.event_name != 'schedule' }} | |
| runs-on: ${{ matrix.runner }} | |
| timeout-minutes: 90 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - runner: ubuntu-24.04 | |
| label: linux-x86_64 | |
| - runner: ubuntu-24.04-arm | |
| label: linux-aarch64 | |
| - runner: macos-latest | |
| label: macos-aarch64 | |
| # `macos-15-intel` is GitHub's last x86_64 runner image, promised | |
| # only until August 2027 (actions/runner-images#13045). Keep the | |
| # workspace compiling for x86_64-apple-darwin here so the release | |
| # job never discovers a breakage at tag time. | |
| - runner: macos-15-intel | |
| label: macos-x86_64 | |
| - runner: windows-latest | |
| label: windows-msvc-x86_64 | |
| - runner: windows-11-arm | |
| label: windows-msvc-aarch64 | |
| env: | |
| CARGO_TERM_COLOR: always | |
| RUST_BACKTRACE: 1 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| - uses: ./.github/actions/install-build-deps | |
| - name: Set up Rust tooling | |
| uses: ./.github/actions/setup-rust | |
| with: | |
| cache-key: ci-check-${{ matrix.label }} | |
| cache-shared-key: ${{ matrix.label }}-dev | |
| cache-save-if: ${{ github.ref == 'refs/heads/main' }} | |
| install-nextest: ${{ matrix.label == 'linux-x86_64' || matrix.label == 'windows-msvc-x86_64' }} | |
| - name: Check native dependency type coherence | |
| if: matrix.label == 'linux-x86_64' | |
| run: cargo run --locked -p xtask -- check-dependency-coherence | |
| - name: cargo check workspace (Unix) | |
| if: runner.os != 'Windows' | |
| run: cargo check --workspace --all-targets | |
| - name: cargo check workspace (Windows) | |
| if: runner.os == 'Windows' | |
| shell: bash | |
| run: | | |
| cargo check --workspace --all-targets | |
| - name: Test DirectWrite native font replay | |
| if: matrix.label == 'windows-msvc-x86_64' | |
| shell: bash | |
| run: >- | |
| cargo nextest run -p neomacs-layout-engine | |
| font_backend::windows::tests | |
| - name: cargo check minimal capability build | |
| if: matrix.label == 'linux-x86_64' | |
| run: cargo check -p neomacs --no-default-features | |
| - name: Test SQLite-disabled capability surface | |
| if: matrix.label == 'linux-x86_64' | |
| run: >- | |
| cargo nextest run -p neovm-core --no-default-features | |
| -E 'test(disabled_build_exposes_only_gnu_capability_probes)' |