Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
187 commits
Select commit Hold shift + click to select a range
66490cf
docs(readme): drop the window-closing behaviour from the features
oenderg Oct 26, 2026
11a232d
ci: keep a build-only run's downloads as artifacts
oenderg Oct 28, 2026
152cafd
fix(ios): allow 120 Hz on ProMotion iPhones (#4)
oenderg Oct 28, 2026
c2dd4f4
fix(keys): let Space collect sprouts (#3)
oenderg Oct 28, 2026
e8a6ed8
docs: say Space collects sprouts (#3)
oenderg Oct 28, 2026
f574453
fix: reject malformed level overrides
oenderg Oct 29, 2026
647def8
fix(ios): drop dynamic-codesigning, which TrollStore apps die on (#11)
oenderg Nov 2, 2026
45755de
fix(mac): build for macOS 14 instead of the build machine's macOS (#18)
oenderg Nov 2, 2026
3b5026a
chore: release 1.2.1
oenderg Nov 2, 2026
2612ff6
chore(altstore): update the source for v1.2.1
github-actions[bot] Nov 2, 2026
becb52a
chore(sparkle): update the Mac update feed for v1.2.1
github-actions[bot] Nov 2, 2026
a312037
fix(picker): treat Import Quests as an import on both hosts
oenderg Oct 29, 2026
895f9a7
docs: describe the zip-only Import Quests picker
oenderg Oct 29, 2026
aeea3fd
feat(pvz2): publish an in-level key badge snapshot
oenderg Oct 28, 2026
5c9b1fd
feat(mac): show key badges in levels (#2)
oenderg Oct 28, 2026
48e2e05
feat(ios): show key badges once a hardware key is pressed
oenderg Oct 28, 2026
9ec2b39
docs: describe the in-level key badges
oenderg Oct 28, 2026
c5e04e5
feat(pvz2): publish the selected item for the pointer preview
oenderg Oct 29, 2026
73782ec
feat(mac): show the selected plant at the pointer
oenderg Oct 29, 2026
77ff9be
docs: describe the pointer preview
oenderg Oct 29, 2026
532141c
feat(mac): add cursor grid cross
oenderg Oct 30, 2026
bfe4194
fix(mac): reduce cursor snapshot cost and picture size
oenderg Oct 30, 2026
c40b1ed
fix(mac): keep cursor row bands aligned to tiles
oenderg Oct 30, 2026
65509ed
feat(mac): preview selected plant food
oenderg Oct 30, 2026
bea8b81
fix(mac): hide cursor cross on invalid plant tiles
oenderg Oct 30, 2026
6385125
fix(mac): brighten cursor cross
oenderg Oct 30, 2026
e8b837c
fix(mac): keep cross visible while tiles are checked
oenderg Oct 30, 2026
eda1d46
feat(mac): add a cross brightness setting
oenderg Oct 30, 2026
c778b71
feat(ios): ask for a second swipe at the top and bottom edges
oenderg Nov 5, 2026
046292d
chore(release): 1.3.0
oenderg Nov 5, 2026
4d15f26
chore(altstore): update the source for v1.3.0
github-actions[bot] Nov 5, 2026
779f9d7
chore(sparkle): update the Mac update feed for v1.3.0
github-actions[bot] Nov 5, 2026
b3c9f45
feat(mac): show keys in levels by default
oenderg Nov 5, 2026
6d59d1b
feat: make Q W E R, Tab and F the default keys
oenderg Nov 5, 2026
e9eca40
docs: fold each README feature into its own section
oenderg Nov 5, 2026
257dae7
docs: give the screenshots their own heading
oenderg Nov 5, 2026
904e50d
fix(ios): keep the home indicator so the bottom edge needs a second s…
oenderg Nov 5, 2026
5f4ef2a
feat(windows): run the game's start-up on Windows ARM64
oenderg Nov 6, 2026
68ab052
feat(windows): the game's first frame on Windows ARM64
oenderg Nov 6, 2026
2fec620
fix(windows): text input, and locks aligned inside the guest's pthrea…
oenderg Nov 6, 2026
b3cf514
fix(gl): decode ETC1 textures when ANGLE lacks them, and TL_GL_CHECK
oenderg Nov 6, 2026
3738419
fix(windows): a working fault guard around the driver's calls into th…
oenderg Nov 6, 2026
f238715
fix(pvz2): name the signal when a guarded call into the game faults
oenderg Nov 6, 2026
7b539b8
feat(windows): x86-64 start-up through ScarletNX's recompiler
oenderg Nov 6, 2026
68f233c
feat(windows): the x86-64 game reaches its first surface and the draw…
oenderg Nov 6, 2026
55c2cc0
feat(windows): x86-64 diagnostics, libraries opened later, OpenSL sig…
oenderg Nov 6, 2026
dd6651f
fix(ios): let the iPad window take any size
oenderg Nov 7, 2026
e0814d6
ci: build on the Xcode 27 runner, the same SDK as a local build
oenderg Nov 7, 2026
438d888
fix(pvz2): hide badges and keys for HUD controls the level hides
oenderg Nov 7, 2026
1d29ea7
feat(windows): x86-64 live code changes, stale module copies, inflate…
oenderg Nov 7, 2026
3751528
feat(windows): sample where x86-64 guest threads run
oenderg Nov 7, 2026
bc828cc
fix(pvz2): call the guest's widget lookup translated on x86-64
oenderg Nov 7, 2026
1e655b3
fix(windows): draw at the window's client size and follow resizes
oenderg Nov 7, 2026
f4eed03
build(windows): keep the ScarletNX patch the x86-64 build needs
oenderg Nov 7, 2026
5206beb
docs(windows): draft the ScarletNX leader invalidation fix for upstream
oenderg Nov 7, 2026
07ffd20
docs(windows): fit the ScarletNX pull request draft to their template
oenderg Nov 7, 2026
d85c095
docs(windows): record the ScarletNX recompiler test run
oenderg Nov 7, 2026
e67030b
feat(windows): keep the saves beside the player's settings
oenderg Nov 8, 2026
8a36fc9
feat(windows): keys and a Win32 settings window in the host
oenderg Nov 8, 2026
be3e38e
fix(windows): the settings page's buttons and the folder mode line
oenderg Nov 8, 2026
dbcd4aa
feat(windows): package the ARM64 and x64 zips without MSYS2
oenderg Nov 8, 2026
ab01cb1
feat(windows): download the live content over WinHTTP
oenderg Nov 8, 2026
1162cf4
feat(windows): keep the game's shape at any window size
oenderg Nov 8, 2026
01ae320
feat(windows): start the game in the window's shape when asked
oenderg Nov 8, 2026
2156f6c
feat(windows): show the key that works each control in a level
oenderg Nov 8, 2026
478ee3f
feat(windows): download the game's data before the first start
oenderg Nov 8, 2026
739de13
build(windows): build ANGLE from one pinned commit
oenderg Nov 8, 2026
15351ae
ci(windows): build ANGLE for Windows in a workflow
oenderg Nov 8, 2026
34a97ed
build(windows): take the zips' ANGLE from prebuilt/win-*
oenderg Nov 8, 2026
a2d4399
docs(windows): describe how the Windows ANGLE is built
oenderg Nov 8, 2026
71559e3
fix(windows): draw the level key labels the Mac's way
oenderg Nov 8, 2026
bd78aef
fix(windows): wait for the whole Windows SDK before building ANGLE
oenderg Nov 8, 2026
9ab5b29
fix(windows): run the ANGLE import check without breaking on (x86)
oenderg Nov 8, 2026
9bc3843
ci(windows): stamp the ANGLE build time in run.txt
oenderg Nov 8, 2026
aec169d
build(windows): fetch the ANGLE DLLs from the build-inputs draft
oenderg Nov 8, 2026
95225a0
feat(windows): read the pointer preview's art from the OBB
oenderg Nov 8, 2026
23953c6
feat(windows): add the pointer preview's settings page
oenderg Nov 8, 2026
1cbf4b9
feat(windows): show the selected plant at the pointer
oenderg Nov 8, 2026
d065966
perf(windows): log the app-object search's time and bytes
oenderg Nov 8, 2026
746de6a
fix(windows): match the Mac's key-label outline and size
oenderg Nov 8, 2026
c460a38
fix(windows): replace the config and state files when saving
oenderg Nov 8, 2026
a703f8e
feat(windows): keep the game's config and state beside the saves
oenderg Nov 8, 2026
7836056
fix(windows): match the Mac's key-label slant and placement
oenderg Nov 8, 2026
d4009e2
feat(windows): present at the monitor's refresh rate
oenderg Nov 8, 2026
58d69d5
fix(windows): lift the key labels by the packet rect's rounding
oenderg Nov 8, 2026
556b05e
docs(windows): mark the key-label lift as empirical
oenderg Nov 8, 2026
7dcada2
fix(windows): keep the overlays above the game after a full screen sw…
oenderg Nov 8, 2026
7701af1
merge: bring the Windows ANGLE build into the Windows host branch
oenderg Nov 8, 2026
c947b85
fix(windows): start each zip from a clean archive
oenderg Nov 8, 2026
3d62eaa
feat(windows): follow Windows' light and dark mode in the host's windows
oenderg Nov 8, 2026
b550c72
fix(windows): theme the preparing window before its first paint
oenderg Nov 8, 2026
f5aa036
feat(windows): split settings into four focused tabs
oenderg Nov 8, 2026
0f22cdc
feat(windows): keep the selected startup aspect and remember window s…
oenderg Nov 8, 2026
cc7a930
feat(windows): confirm quitting before saving and closing
oenderg Nov 8, 2026
8078dcf
fix(windows): reflow General around its visible mode controls
oenderg Nov 8, 2026
9f69201
fix(windows): keep Restore defaults on Keyboard only
oenderg Nov 8, 2026
7716109
fix(windows): use the Mac pointer section name and footer
oenderg Nov 8, 2026
68264f3
fix(x64): use tl_jni_native's host function for the pump
oenderg Nov 8, 2026
b0b534f
fix(windows): hook darkmodelib's theme import after resolving it
oenderg Nov 8, 2026
a633667
feat(windows): install the game per user and ask about the saves on u…
oenderg Nov 8, 2026
193da70
feat(windows): update the installed build with WinSparkle
oenderg Nov 8, 2026
ee5ddd6
feat(windows): make the zips portable and document the three ways to …
oenderg Nov 8, 2026
8b046fc
fix(windows): build the settings test with the update glue
oenderg Nov 8, 2026
5945568
fix(windows): find the setup icon one folder up
oenderg Nov 8, 2026
30ab450
chore(x64): move the ScarletNX pin past the leader fix
oenderg Nov 8, 2026
7fb068d
feat(release): sign the Windows setup and write its update feed
oenderg Nov 8, 2026
8e15913
fix(windows): keep the window menu through a fullscreen start
oenderg Nov 9, 2026
f8e3f57
fix(windows): take the window menu before PowerToys does
oenderg Nov 9, 2026
e2f2f3d
feat(windows): resizable Settings window with a minimum size
oenderg Nov 9, 2026
59b6066
feat(windows): put Settings in the taskbar jump list
oenderg Nov 9, 2026
f79ca9e
fix(windows): follow the pointer at the display's rate
oenderg Nov 9, 2026
2528be6
fix(windows): stop the pointer tick while the preview is hidden
oenderg Nov 9, 2026
9046535
fix(windows): start the game at the design height for its HD art
oenderg Nov 9, 2026
25c56f9
fix(windows): end the boost on the driver's signal
oenderg Nov 9, 2026
3f11407
perf(x64): translate the cold cache in weighted units, largest first
oenderg Nov 10, 2026
1443a01
fix(windows): keep the launch boost until the driver reports the start
oenderg Nov 10, 2026
caed9fc
feat(windows): show the real translation progress and time left
oenderg Nov 10, 2026
2c21390
fix(windows): let the preparing preview last its whole span
oenderg Nov 10, 2026
74f9bc3
fix(windows): fit the preparing window's client to its content
oenderg Nov 10, 2026
3b15b6c
feat(windows): show translation estimates from five percent
oenderg Nov 10, 2026
c236cea
fix(windows): restart pointer deadlines and expose active pacing
oenderg Nov 10, 2026
3cade42
docs(windows): describe weighted progress and pointer pacing
oenderg Nov 10, 2026
15479e1
fix(windows): bootstrap early estimates without start-up bias
oenderg Nov 10, 2026
2f9c9b1
fix(test): capture the app's largest window, not its menu bar
oenderg Nov 10, 2026
08a5299
fix(windows): give each copy its own taskbar identity and jump list
oenderg Nov 10, 2026
d53958d
merge: bring main (iPad resize, hidden HUD controls, Xcode 27 CI) int…
oenderg Nov 10, 2026
7e29b31
build(windows): name the setup and zips like the Apple release files
oenderg Nov 10, 2026
030a38f
chore: release 1.4.0
oenderg Nov 10, 2026
e31e2da
docs(windows): drop internal wording from comments and upstream drafts
oenderg Nov 10, 2026
0455d81
build(windows): ship a licenses folder with the setup and the zips
oenderg Nov 10, 2026
97a28f6
ci(windows): build the setup and the portable zips in the release wor…
oenderg Nov 10, 2026
b1c883c
docs(readme): show a temporary banner
oenderg Nov 10, 2026
4fd0cdb
fix(windows): accept a relative output folder for the zips and copy e…
oenderg Nov 10, 2026
30a654c
docs(windows): describe the Windows build in the release workflow
oenderg Nov 10, 2026
ffce379
feat(windows): restart in the window's shape or put the window back
oenderg Nov 10, 2026
4031dda
feat(window): the cross trims the black bars and keeps the window's size
oenderg Nov 10, 2026
bb0b5dc
fix(windows): notice Settings shape changes and keep a trimmed window…
oenderg Nov 11, 2026
cc865eb
fix(windows): keep the previous run's log as pvz2.previous.log
oenderg Nov 11, 2026
f18f6ab
fix(windows): save the x64 translation under Wine
oenderg Nov 11, 2026
bf321c1
fix(windows): name the user in the x64 translation's temp folder rights
oenderg Nov 11, 2026
8fea3df
docs(release): say how to open Settings on Windows
oenderg Nov 11, 2026
613a252
docs(release): Check for Updates is in the two menus, not on Ctrl+,
oenderg Nov 11, 2026
a34c51c
chore(altstore): update the source for v1.4.0
github-actions[bot] Nov 11, 2026
28a3f7b
chore(sparkle): update the Mac update feed for v1.4.0
github-actions[bot] Nov 11, 2026
40a65b5
fix(ci): download the Windows files as they are for publishing
oenderg Nov 11, 2026
ddd60b9
fix(release): check the Windows setup's signature with OpenSSL 3
oenderg Nov 11, 2026
0fa9a74
docs(release): list the install steps as bullets
oenderg Nov 11, 2026
3fb6152
feat(release): put one direct download link per platform at the top
oenderg Nov 11, 2026
21bd326
docs(readme): link the platform badges to the latest release
oenderg Nov 11, 2026
d225da7
chore(sparkle-windows): update the Windows update feed for v1.4.0
github-actions[bot] Nov 11, 2026
de3e134
ci: check the repo on every push and before a release builds
oenderg Nov 11, 2026
6aa13b7
ci: publish everything from one job once every build has passed
oenderg Nov 11, 2026
f2296f0
docs(readme): fold the SmartScreen screenshots
oenderg Nov 11, 2026
4fc4665
docs(readme): give each platform its own install heading
oenderg Nov 11, 2026
e169163
ci(release): upload the release files one at a time in a fixed order
oenderg Nov 11, 2026
a030933
fix(windows): log ScarletNX's warnings, including a temp folder's fal…
oenderg Nov 11, 2026
0ce48e4
chore(windows): pin ScarletNX at 7950099a, which has the Wine temp fo…
oenderg Nov 11, 2026
ccdf433
docs(windows): drop the ScarletNX upstream drafts, link the pull requ…
oenderg Nov 11, 2026
f2779a7
chore(windows): pin ScarletNX at f5c2fa84, which has our progress, sc…
oenderg Nov 11, 2026
56b780f
ci(windows): start both portable zips twice on Windows runners and ch…
oenderg Nov 11, 2026
8631dff
Merge branch 'main' into chore/scarletnx-f5c2fa84
oenderg Nov 11, 2026
d539f03
docs(testing): the smoke test's x64 translation takes 17 minutes on a…
oenderg Nov 11, 2026
d413e18
ci(windows): the smoke test checks each start's picture against a bas…
oenderg Nov 11, 2026
13329d4
ci(windows): without a baseline, the smoke test's picture waits past …
oenderg Nov 11, 2026
c9b2edc
ci(windows): a failed upload of the smoke pictures does not fail the …
oenderg Nov 11, 2026
3386f14
ci(release): publish waits for the Windows smoke test, unless the run…
oenderg Nov 11, 2026
ce0b8c1
fix(ios): send every finger to the game, each with its own id
oenderg Nov 12, 2026
1092e07
merge: bring Reflourished-Darwin main (Windows build, multi-touch, cr…
oenderg Nov 12, 2026
ac4db01
feat(windows): build the Windows ARM64 port for AltVerZ from its profile
oenderg Nov 12, 2026
a04f7e2
build(windows): the x64 build reads the profile too
oenderg Nov 12, 2026
4c85772
fix(pvz2): give the x86-64 build the three-argument guest call
oenderg Nov 12, 2026
8088186
fix(windows): find the app object by the exact size, and give up on a…
oenderg Nov 12, 2026
4bf79a4
chore: drop Reflourished's banner, release notes and Windows feed entry
oenderg Nov 12, 2026
c455416
build(windows): package, install, publish and check the Windows build…
oenderg Nov 12, 2026
e5e4846
build(windows): the licenses README names the mod
oenderg Nov 12, 2026
a629745
ci: build and publish from one workflow, with the Windows builds and …
oenderg Nov 12, 2026
233b432
feat(windows): show the selected plant at the pointer for AltVerZ's O…
oenderg Nov 12, 2026
11b78cf
docs(readme): describe the Windows build
oenderg Nov 12, 2026
d98f45d
docs(windows): describe shipping the Windows builds for AltVerZ
oenderg Nov 12, 2026
3da5e57
docs: the Windows builds in the release and test guides
oenderg Nov 12, 2026
c188ccd
feat(windows): hide the power-up keys for a game without power-ups
oenderg Nov 12, 2026
54e85ed
docs(profiles): the Windows build's profile values
oenderg Nov 12, 2026
0814e47
docs: the Windows host's comments name the profile, not Reflourished
oenderg Nov 12, 2026
9d568f4
fix(windows): name the smoke test's program filter so it does not sha…
oenderg Nov 12, 2026
700061c
test(windows): the smoke test's Welcome picture for AltVerZ 1.8.3f
oenderg Nov 12, 2026
b63f71b
fix(pvz2): drop the app-object dump, which only the Windows section had
oenderg Nov 13, 2026
36c2856
fix(windows): keep the pointer preview ticking after a seed key until…
oenderg Nov 13, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
158 changes: 158 additions & 0 deletions .github/workflows/angle-windows.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,158 @@
name: ANGLE for Windows

# Builds the ANGLE the Windows zips ship: libEGL.dll and libGLESv2.dll over Direct3D 11,
# for x64 and ARM64, from the commit in runtime/win/ANGLE_COMMIT. It runs
# runtime/win/build-angle.cmd, the script a Windows PC with Visual Studio uses too, and
# uploads one artifact per architecture with the DLLs, d3dcompiler_47.dll, commit.txt,
# gn-args.txt, run.txt and ANGLE's LICENSE.
#
# A maintainer runs it from the branch ci/angle-windows before the change reaches main,
# then copies the two artifacts into prebuilt/win-x64 and prebuilt/win-arm64
# (docs/windows-shipping.md, "Refreshing ANGLE", says exactly what to copy).

on:
workflow_dispatch:
inputs:
angle_commit:
description: "ANGLE commit (40 hex digits; empty means the pin in runtime/win/ANGLE_COMMIT)"
required: false
default: ""
push:
branches: [ci/angle-windows]

# Two runs would sync and build the same tree on two runners, and the cache key would
# have them race each other.
concurrency:
group: angle-windows
cancel-in-progress: false

permissions:
contents: read

jobs:
angle:
name: ${{ matrix.arch }}
# windows-2025 is an x64 runner: ARM64 is cross built with the ARM64 MSVC tools and
# libraries the image carries, the way Chrome's own ANGLE builds do it.
runs-on: windows-2025
# A run took 18 (ARM64) and 30 (x64) minutes in mmozeiko/build-angle, whose workflow
# builds the same thing weekly on the same image; the cap leaves room for a slow
# runner and a first time depot_tools download.
timeout-minutes: 120
strategy:
fail-fast: false
matrix:
arch: [x64, arm64]
steps:
- name: Checkout
uses: actions/checkout@v7

- name: The ANGLE commit
id: commit
shell: pwsh
run: |
$commit = "${{ github.event.inputs.angle_commit }}".Trim()
if (-not $commit) {
$pin = @(Get-Content runtime/win/ANGLE_COMMIT |
Where-Object { $_ -match '^\s*[0-9a-fA-F]{40}\s*$' })
if (-not $pin.Count) { throw 'no commit in runtime/win/ANGLE_COMMIT' }
$commit = $pin[0].Trim()
}
if ($commit -notmatch '^[0-9a-fA-F]{40}$') { throw "not an ANGLE commit: '$commit'" }
Write-Host "ANGLE $commit"
"commit=$commit" >> $env:GITHUB_OUTPUT
# depot_tools is a rolling checkout: a fresh cache key once a month keeps the
# restored copy from ageing without making every run miss.
"month=$((Get-Date -Format 'yyyy-MM'))" >> $env:GITHUB_OUTPUT

- name: depot_tools
# The ANGLE checkout is not cached: its key would change with every ANGLE commit, the
# tree with its build output runs to several gigabytes against the repository's 10 GB
# of cache, and the workflow runs once per ANGLE update rather than often enough to
# pay for the upload. depot_tools is small and its clone is the slowest single
# download here.
uses: actions/cache@v6
with:
path: out/win/angle-build/depot_tools
key: depot-tools-windows-${{ matrix.arch }}-${{ steps.commit.outputs.month }}
restore-keys: depot-tools-windows-

- name: Windows SDK 10.0.28000
shell: pwsh
run: |
# Chromium's build files, which ANGLE's DEPS brings in, name the SDK they compile
# against and hand that exact version to vcvarsall; with a machine that has an
# older one only, gn gen stops with "Windows SDK version ... was not found".
# The image ships 10.0.26100, so add the one this ANGLE commit names.
# Ready means the headers and the import libraries both landed: the installer's
# folder appears long before the files in it do.
$kits = Join-Path ${env:ProgramFiles(x86)} 'Windows Kits\10'
$need = @(
"$kits\Include\10.0.28000.0\um\windows.h",
"$kits\Lib\10.0.28000.0\um\x64\kernel32.lib",
"$kits\Lib\10.0.28000.0\um\arm64\kernel32.lib"
)
function Ready { -not ($need | Where-Object { -not (Test-Path $_) }) }
if (Ready) { Write-Host 'Windows SDK 10.0.28000.0 is already installed'; exit 0 }
$setup = Join-Path ${env:ProgramFiles(x86)} 'Microsoft Visual Studio\Installer'
$vs = & (Join-Path $setup 'vswhere.exe') -latest -products * `
-requires Microsoft.VisualStudio.Component.VC.Tools.x86.x64 -property installationPath
if (-not $vs) { throw 'no Visual Studio with the C++ tools on this runner' }
Write-Host "Visual Studio: $vs"
# Start-Process -Wait waits for the installer itself; called directly it can hand
# off to a child process and return while the SDK is still being installed.
$p = Start-Process -FilePath (Join-Path $setup 'vs_installer.exe') -Wait -PassThru -ArgumentList @(
'modify', '--installPath', "`"$vs`"", '--quiet', '--force', '--norestart',
'--add', 'Microsoft.VisualStudio.Component.Windows11SDK.28000')
Write-Host "vs_installer exit code $($p.ExitCode)"
if ($p.ExitCode -ne 0 -and $p.ExitCode -ne 3010) { throw "vs_installer exited with $($p.ExitCode)" }
for ($i = 0; $i -lt 90 -and -not (Ready); $i++) { Start-Sleep -Seconds 10 }
$missing = $need | Where-Object { -not (Test-Path $_) }
if ($missing) { throw "the Windows SDK is incomplete, missing: $($missing -join ', ')" }
Write-Host 'Windows SDK 10.0.28000.0 is installed'

- name: Build
shell: cmd
timeout-minutes: 90
env:
ANGLE_COMMIT: ${{ steps.commit.outputs.commit }}
run: runtime\win\build-angle.cmd ${{ matrix.arch }}

- name: What the run made
shell: pwsh
run: |
# The commit and the run travel with the DLLs: prebuilt/win-<arch> names both
# after the files are copied there, and commit.txt names the commit alone.
$dir = "prebuilt/win-${{ matrix.arch }}"
@(
"Commit: ${{ steps.commit.outputs.commit }}"
"Run: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"
"Ref: ${{ github.ref_name }} at ${{ github.sha }}"
"Built: $((Get-Date).ToUniversalTime().ToString('yyyy-MM-ddTHH:mm:ssZ'))"
) | Set-Content -Path (Join-Path $dir 'run.txt') -Encoding ascii

- name: Upload
uses: actions/upload-artifact@v7
with:
name: angle-windows-${{ matrix.arch }}
path: prebuilt/win-${{ matrix.arch }}
if-no-files-found: error
retention-days: 30

- name: Summary
shell: pwsh
run: |
$dir = "prebuilt/win-${{ matrix.arch }}"
$text = @(
"## ANGLE for windows-${{ matrix.arch }}"
""
"Commit: ``${{ steps.commit.outputs.commit }}``"
""
)
Get-ChildItem $dir | Sort-Object Name | ForEach-Object {
$text += ('- {0} ({1} KB)' -f $_.Name, [int]($_.Length / 1KB))
}
$text += @('', 'The gn arguments:', '', '```')
$text += Get-Content (Join-Path $dir 'gn-args.txt')
$text += '```'
$text | Out-File -FilePath $env:GITHUB_STEP_SUMMARY -Append -Encoding utf8
Loading
Loading