Skip to content

Consolidate rendering domain infrastructure #465

Consolidate rendering domain infrastructure

Consolidate rendering domain infrastructure #465

Workflow file for this run

name: ci
on:
push:
pull_request:
permissions:
contents: read
env:
CARGO_TERM_COLOR: always
TECS_WERROR: "1"
jobs:
rust:
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- run: cargo fmt --all -- --check
- run: cargo clippy --locked --workspace --all-targets -- -D warnings
- if: runner.os == 'Windows'
run: cargo check --locked --workspace --all-targets
- if: runner.os != 'Windows'
run: cargo test --locked --workspace --all-targets
engine:
runs-on: macos-15
steps:
- uses: actions/checkout@v4
- run: brew update
- run: cargo xtask deps
- run: cargo xtask check
- run: cargo xtask format-check
- run: cargo xtask test
- run: cargo xtask test-package --preset macos-arm64
docs:
runs-on: macos-15
permissions:
contents: read
pages: write
id-token: write
steps:
- uses: actions/checkout@v4
- run: brew update
- run: brew install luajit luarocks
- run: cargo xtask dev-tools
- run: cargo xtask docs-check
- if: github.event_name == 'push' && github.ref == 'refs/heads/main'
run: cargo xtask docs-build
- if: github.event_name == 'push' && github.ref == 'refs/heads/main'
uses: actions/upload-pages-artifact@v3
with:
path: out/docs
deploy-docs:
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
needs: docs
runs-on: ubuntu-latest
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
concurrency:
group: github-pages
cancel-in-progress: false
steps:
- id: deployment
uses: actions/deploy-pages@v4