Skip to content

Add Windows ARM64 vcpkg target - #1370

Merged
CraftSpider merged 5 commits into
tectonic-typesetting:masterfrom
dakehero:add-windows-arm64-vcpkg-target
Jul 27, 2026
Merged

Add Windows ARM64 vcpkg target#1370
CraftSpider merged 5 commits into
tectonic-typesetting:masterfrom
dakehero:add-windows-arm64-vcpkg-target

Conversation

@dakehero

@dakehero dakehero commented May 18, 2026

Copy link
Copy Markdown
Contributor

Summary

This adds vcpkg support for the aarch64-pc-windows-msvc Rust target by:

  • adding an arm64-windows-static-release vcpkg triplet
  • registering aarch64-pc-windows-msvc in package.metadata.vcpkg.target
  • adding a Windows ARM64 vcpkg CI matrix entry

Verification

Verified on my fork with a targeted workflow that runs the same prep flow and packages the Windows ARM64 binary:

https://github.com/dakehero/tectonic/actions/runs/26043396816

The workflow completed:

  • prep / main
  • prep / rustfmt
  • windows-arm64-vcpkg
  • Install vcpkg dependencies
  • Build and package

@dakehero
dakehero marked this pull request as draft May 18, 2026 14:29
@dakehero
dakehero force-pushed the add-windows-arm64-vcpkg-target branch from bd074fa to 5ff8f00 Compare May 18, 2026 14:34
@dakehero
dakehero marked this pull request as ready for review May 19, 2026 16:09
Comment thread .github/actions/build-and-test/action.yml
@codecov

codecov Bot commented May 26, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 31.51%. Comparing base (ab5ef51) to head (6364a14).
⚠️ Report is 4 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1370      +/-   ##
==========================================
+ Coverage   29.85%   31.51%   +1.66%     
==========================================
  Files         273      275       +2     
  Lines      180530   180823     +293     
  Branches   180530   180823     +293     
==========================================
+ Hits        53889    56994    +3105     
+ Misses      54416    44722    -9694     
- Partials    72225    79107    +6882     
Components Coverage Δ
tectonic 51.35% <ø> (ø)
bridge_core 36.90% <ø> (+2.65%) ⬆️
bridge_flate 38.82% <ø> (ø)
bridge_fontconfig 95.67% <ø> (ø)
bridge_freetype2 92.70% <ø> (ø)
bridge_graphite2 42.47% <ø> (ø)
bridge_harfbuzz 82.83% <ø> (ø)
bridge_icu ∅ <ø> (∅)
bridge_png 100.00% <ø> (ø)
bundles 40.84% <ø> (+4.76%) ⬆️
cfg_support 94.84% <ø> (ø)
dep_support 0.00% <ø> (ø)
docmodel 84.87% <ø> (ø)
engine_bibtex 67.46% <ø> (ø)
engine_spx2html 0.00% <ø> (ø)
engine_xdvipdfmx 64.30% <ø> (ø)
engine_xetex 35.73% <ø> (ø)
errors 47.61% <ø> (ø)
geturl 28.20% <ø> (ø)
io_base 76.11% <ø> (ø)
pdf_io 18.50% <ø> (+4.33%) ⬆️
status_base 81.92% <ø> (ø)
xdv 55.28% <ø> (ø)
xetex_format 23.31% <ø> (ø)
xetex_layout 59.57% <ø> (ø)

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@dakehero
dakehero force-pushed the add-windows-arm64-vcpkg-target branch 2 times, most recently from a4fd580 to 5ff8f00 Compare May 26, 2026 18:53
Comment thread .github/actions/build-and-test/action.yml
Comment thread .github/workflows/build_and_test.yml Outdated
target: ${{ matrix.data.target }}
publish: ${{ matrix.data.image != 'ubuntu-latest' }}
run-tests: ${{ matrix.data.run-tests != false }}
publish: ${{ matrix.data.publish != false && matrix.data.image != 'ubuntu-latest' }}

@CraftSpider CraftSpider May 26, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think something is going wrong here, even the x86_64 vcpkg build didn't publish an artifact.

Edit: Unless that's related to the force-push you just made. I've re-approved CI

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for the back-and-forth here. I experimented with a native windows-11-arm pipeline, but there's a Cranko setup issue on the ARM64 runner, so I backed that out to keep this PR focused on the cross-build target.

@dakehero
dakehero force-pushed the add-windows-arm64-vcpkg-target branch from 5ff8f00 to 761ac7f Compare May 28, 2026 16:07
@dakehero

Copy link
Copy Markdown
Contributor Author

Switched the ARM64 job back to native windows-11-arm. Build, tests, and packaging all pass on my fork: https://github.com/dakehero/tectonic/actions/runs/30171333350

Could you approve the new CI run when you get a chance?

@dakehero
dakehero force-pushed the add-windows-arm64-vcpkg-target branch from fdac15b to 6364a14 Compare July 25, 2026 19:57
@CraftSpider

Copy link
Copy Markdown
Contributor

Thank you for the time getting this working

@CraftSpider
CraftSpider merged commit d0b3934 into tectonic-typesetting:master Jul 27, 2026
29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants