How mmozeiko/build-angle works
1. This repository is not an application codebase; it is a build-and-release automation repo for ANGLE, the OpenGL ES implementation, targeting 64-bit Windows.
2. The two functional parts are:
- a GitHub Actions workflow under .github/workflows/build-angle.yml
- a local build entrypoint, build.cmd
3. The workflow is the main automation subsystem. Based on the README, it runs a weekly build, producing binary artifacts for Windows x64 and Windows arm64.
4. The release boundary is important: the build output is packaged as a ZIP archive and published to the GitHub Releases page, where users download the “latest release” binary build.
5. build.cmd is the local build boundary. It is the script a developer runs to reproduce the CI build on a machine, assuming the required dependencies are installed. The README explicitly points to the top of that file for prerequisites.
6. The repo does not appear to contain ANGLE source code itself; it is a wrapper around fetching/building ANGLE and packaging the result. That means most of the real build complexity lives in the script and workflow, not in checked-in library code.
7. The external dependency model is simple but central:
- GitHub Actions provides scheduled CI
- GitHub Releases is the artifact distribution channel
- ANGLE is the upstream project being built
8. Architecture-wise, the data flow is:
source/build environment → build.cmd or GitHub Actions workflow → compiled Windows binaries → ZIP archive → GitHub Release download page.
9. Platform targeting is a key constraint in the design. The repo is specifically tuned for 64-bit Windows outputs, with separate x64 and arm64 builds, so the pipeline must handle both architectures in its build/package steps.
10. For an architecture diagram, the repo can be represented as a small automation system with three nodes: scheduled CI, local reproducible build script, and release artifact publishing. There are no additional subsystems visible from the file tree.
Main entry points: build-angle.yml Weekly build · build.cmd Build script
Components 8
Repo automation
Checked-in automation entrypoints that reproduce and publish ANGLE Windows builds.
- Weekly build · Scheduled CI pipeline that builds ANGLE for Windows x64 and arm64, packages ZIP artifacts, and publishes releases.
.github/workflows/build-angle.yml - Build script · Local reproducible build entrypoint for developers with the required dependencies installed.
build.cmd
External systems
Upstream source, CI runtime, and release distribution surfaces.
- ANGLE · External OpenGL ES implementation fetched and built by the automation.
- GitHub Actions · Runs the weekly automated build workflow.
- GitHub Release · Publishes ZIP archives for download as the latest binary release.
- Win x64 · Primary 64-bit Windows build target.
- Win arm64 · Secondary 64-bit Windows build target.
- ZIP archive · Compressed build output produced by the pipeline before release publishing.
Connections 10
- GitHub Actions → Weekly build: schedules · Triggers the weekly build workflow.
- Weekly build → ANGLE: builds · Fetches and builds the upstream ANGLE project.
- Build script → ANGLE: builds · Reproduces the same ANGLE build locally.
- Weekly build → Win x64: targets · Produces Windows x64 binaries.
- Weekly build → Win arm64: targets · Produces Windows arm64 binaries.
- Weekly build → ZIP archive: packages · Bundles build outputs into ZIP archives.
- Build script → ZIP archive: packages · Can reproduce the packaged build output locally.
- ZIP archive → GitHub Release: publishes · Uploads artifacts to GitHub Releases.
- GitHub Release → Weekly build: distributes · Release page exposes the latest CI-produced binary build.
- Build script → Weekly build: mirrors · Local script mirrors the CI build entrypoint and prerequisites.