diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0c131fe..ab8c084 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,15 +7,9 @@ on: pull_request: jobs: - # Crates that must compile on every supported host platform. - cross-platform: - runs-on: ${{ matrix.os }} - strategy: - fail-fast: false - matrix: - os: - - ubuntu-latest - - windows-latest + # Crates that build without Wayland or other Linux system libraries. + portable: + runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@stable @@ -24,14 +18,14 @@ jobs: components: rustfmt, clippy - name: cargo fmt run: cargo fmt --all --check - - name: cargo clippy (cross-platform crates) + - name: cargo clippy (portable crates) run: > cargo clippy --workspace --exclude weft-compositor --exclude weft-servo-shell --exclude weft-app-shell --all-targets -- -D warnings - - name: cargo test (cross-platform crates) + - name: cargo test (portable crates) run: > cargo test --workspace --exclude weft-compositor diff --git a/README.md b/README.md index a43db81..f8edf5a 100644 --- a/README.md +++ b/README.md @@ -77,7 +77,7 @@ See `docs/building.md` for full instructions including Wasm component builds, Ni Three jobs on every push and pull request: -- `cross-platform` — fmt, clippy, tests on Ubuntu and Windows +- `portable` — fmt, clippy and tests for the crates that need no Linux system libraries - `linux-only` — clippy and tests for compositor and shell crates - `servo-embed-linux` — `cargo check --features servo-embed` for both servo crates diff --git a/docs/building.md b/docs/building.md index a6b8af0..87a12b8 100644 --- a/docs/building.md +++ b/docs/building.md @@ -2,7 +2,7 @@ ## Prerequisites -Linux (x86_64 or aarch64). Building on Windows is supported for workspace validation only; runtime components require Linux kernel interfaces. +Linux (x86_64 or aarch64). WEFT OS is built and validated on Linux only; runtime components require Linux kernel interfaces. System packages (openSUSE): @@ -114,6 +114,6 @@ See `infra/nixos/weft-packages.nix` for the package derivations. Its `outputHash Three jobs run on every push to `main` and on pull requests: -- `cross-platform` — fmt, clippy, tests on Ubuntu and Windows (excludes Wayland crates) +- `portable` — fmt, clippy, tests for the crates that need no Linux system libraries (excludes Wayland crates) - `linux-only` — clippy and tests for `weft-compositor`, `weft-servo-shell`, `weft-app-shell` - `servo-embed-linux` — `cargo check --features servo-embed` for servo-shell and app-shell diff --git a/infra/vm/linux-dev-environment.md b/infra/vm/linux-dev-environment.md index 22784b5..877ef94 100644 --- a/infra/vm/linux-dev-environment.md +++ b/infra/vm/linux-dev-environment.md @@ -22,7 +22,7 @@ The guest is the validation target for: ## Host versus target boundary -The Windows host is acceptable for editing, documentation, and workspace validation. +The Windows host is acceptable for editing and documentation. Builds and tests are validated on Linux only; CI does not build on Windows. The Linux guest is authoritative for: