3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-06-17 06:06:22 +00:00
z3/.github/workflows
Copilot 66795ea322
ci: validate Microsoft.Z3.dll PE Machine field is AnyCPU in nightly build validation (#9873)
`Microsoft.Z3.dll` ships with PE `Machine=0x8664` (AMD64), causing the
CLR loader to reject it on arm64 .NET hosts (macOS/Linux/Windows ARM)
even though the assembly is pure IL (`CorFlags.ILONLY=True`) and arm64
native libraries are already bundled in the package.

## Changes

- **`.github/workflows/nightly-validation.yml`** — adds
`validate-dotnet-anycpu` job to the Nightly Build Validation workflow:
  - Downloads the nightly NuGet package from the GitHub release
- Extracts `lib/netstandard2.0/Microsoft.Z3.dll` (NuGet packages are ZIP
archives)
- Reads the COFF `Machine` field from the PE header using Python
`struct`
- Fails with an actionable error if `Machine` is `0x8664` (AMD64) or
`0xAA64` (ARM64); passes for `0x014C` (i386/AnyCPU) or `0x0000`

The check catches any regression where the managed wrapper is compiled
architecture-specific, blocking non-x64 .NET hosts from loading it.

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
2026-06-16 11:16:19 -06:00
..
shared Upgrade agentic workflows to gh-aw v0.36.0 (#8122) 2026-01-08 11:50:35 -08:00
a3-python.lock.yml Suppress auto-created failure issues for agentic workflows (#9834) 2026-06-11 20:57:43 -07:00
a3-python.md Suppress auto-created failure issues for agentic workflows (#9834) 2026-06-11 20:57:43 -07:00
academic-citation-tracker.lock.yml Suppress auto-created failure issues for agentic workflows (#9834) 2026-06-11 20:57:43 -07:00
academic-citation-tracker.md Suppress auto-created failure issues for agentic workflows (#9834) 2026-06-11 20:57:43 -07:00
agentics-maintenance.yml gh aw init 2026-06-11 14:27:37 -07:00
android-build.yml Bump actions/upload-artifact from 4 to 7 (#9827) 2026-06-11 21:19:49 -07:00
api-coherence-checker.lock.yml Bump actions/checkout from 6.0.2 to 6.0.3 (#9828) 2026-06-11 21:19:13 -07:00
api-coherence-checker.md Suppress auto-created failure issues for agentic workflows (#9834) 2026-06-11 20:57:43 -07:00
build-warning-fixer.lock.yml Suppress auto-created failure issues for agentic workflows (#9834) 2026-06-11 20:57:43 -07:00
build-warning-fixer.md Suppress auto-created failure issues for agentic workflows (#9834) 2026-06-11 20:57:43 -07:00
build-z3-cache.yml Bump actions/checkout from 6.0.2 to 6.0.3 (#9715) 2026-06-04 16:14:05 -07:00
ci.yml Bump actions/checkout from 6.0.2 to 6.0.3 (#9715) 2026-06-04 16:14:05 -07:00
code-conventions-analyzer.lock.yml Suppress auto-created failure issues for agentic workflows (#9834) 2026-06-11 20:57:43 -07:00
code-conventions-analyzer.md Suppress auto-created failure issues for agentic workflows (#9834) 2026-06-11 20:57:43 -07:00
code-simplifier.lock.yml Suppress auto-created failure issues for agentic workflows (#9834) 2026-06-11 20:57:43 -07:00
code-simplifier.md Suppress auto-created failure issues for agentic workflows (#9834) 2026-06-11 20:57:43 -07:00
compare-stats-anomaly-reporter.lock.yml Suppress auto-created failure issues for agentic workflows (#9834) 2026-06-11 20:57:43 -07:00
compare-stats-anomaly-reporter.md Suppress auto-created failure issues for agentic workflows (#9834) 2026-06-11 20:57:43 -07:00
copilot-setup-steps.yml update aw to current version 2026-01-08 18:15:03 +00:00
coverage.yml Bump actions/upload-artifact from 4 to 7 (#9827) 2026-06-11 21:19:49 -07:00
cross-build.yml Bump actions/checkout from 6.0.2 to 6.0.3 (#9715) 2026-06-04 16:14:05 -07:00
csa-analysis.lock.yml Bump actions/checkout from 6.0.2 to 6.0.3 (#9828) 2026-06-11 21:19:13 -07:00
csa-analysis.md Suppress auto-created failure issues for agentic workflows (#9834) 2026-06-11 20:57:43 -07:00
docs.yml Bump actions/upload-artifact from 4 to 7 (#9827) 2026-06-11 21:19:49 -07:00
fstar-master-build.yml Bump actions/upload-artifact from 4 to 7 (#9827) 2026-06-11 21:19:49 -07:00
issue-backlog-processor.lock.yml Suppress auto-created failure issues for agentic workflows (#9834) 2026-06-11 20:57:43 -07:00
issue-backlog-processor.md Suppress auto-created failure issues for agentic workflows (#9834) 2026-06-11 20:57:43 -07:00
mark-prs-ready-for-review.yml Bump actions/github-script from 8.0.0 to 9.0.0 (#9296) 2026-04-19 16:49:03 +02:00
memory-safety-report.lock.yml Bump actions/checkout from 6.0.2 to 6.0.3 (#9828) 2026-06-11 21:19:13 -07:00
memory-safety-report.md Suppress auto-created failure issues for agentic workflows (#9834) 2026-06-11 20:57:43 -07:00
memory-safety.yml Bump actions/upload-artifact from 4 to 7 (#9827) 2026-06-11 21:19:49 -07:00
msvc-static-build-clang-cl.yml Bump actions/checkout from 6.0.2 to 6.0.3 (#9715) 2026-06-04 16:14:05 -07:00
msvc-static-build.yml Bump actions/checkout from 6.0.2 to 6.0.3 (#9715) 2026-06-04 16:14:05 -07:00
nightly-validation.yml ci: validate Microsoft.Z3.dll PE Machine field is AnyCPU in nightly build validation (#9873) 2026-06-16 11:16:19 -06:00
nightly.yml Lcube (#9858) 2026-06-14 16:25:21 -07:00
nuget-build.yml Lcube (#9858) 2026-06-14 16:25:21 -07:00
ocaml.yaml Bump actions/checkout from 6.0.2 to 6.0.3 (#9715) 2026-06-04 16:14:05 -07:00
ostrich-benchmark.lock.yml Bump actions/checkout from 6.0.2 to 6.0.3 (#9828) 2026-06-11 21:19:13 -07:00
ostrich-benchmark.md Suppress auto-created failure issues for agentic workflows (#9834) 2026-06-11 20:57:43 -07:00
pyodide.yml Bump actions/checkout from 6.0.2 to 6.0.3 (#9715) 2026-06-04 16:14:05 -07:00
qf-s-benchmark.lock.yml Bump actions/checkout from 6.0.2 to 6.0.3 (#9828) 2026-06-11 21:19:13 -07:00
qf-s-benchmark.md Suppress auto-created failure issues for agentic workflows (#9834) 2026-06-11 20:57:43 -07:00
release-notes-updater.lock.yml Bump actions/checkout from 6.0.2 to 6.0.3 (#9828) 2026-06-11 21:19:13 -07:00
release-notes-updater.md Suppress auto-created failure issues for agentic workflows (#9834) 2026-06-11 20:57:43 -07:00
release.yml Lcube (#9858) 2026-06-14 16:25:21 -07:00
smtlib-benchmark-finder.lock.yml Suppress auto-created failure issues for agentic workflows (#9834) 2026-06-11 20:57:43 -07:00
smtlib-benchmark-finder.md Suppress auto-created failure issues for agentic workflows (#9834) 2026-06-11 20:57:43 -07:00
specbot-crash-analyzer.lock.yml Bump actions/checkout from 6.0.2 to 6.0.3 (#9828) 2026-06-11 21:19:13 -07:00
specbot-crash-analyzer.md Suppress auto-created failure issues for agentic workflows (#9834) 2026-06-11 20:57:43 -07:00
tactic-to-simplifier.lock.yml Bump actions/checkout from 6.0.2 to 6.0.3 (#9828) 2026-06-11 21:19:13 -07:00
tactic-to-simplifier.md Suppress auto-created failure issues for agentic workflows (#9834) 2026-06-11 20:57:43 -07:00
tptp-benchmark.lock.yml Bump actions/checkout from 6.0.2 to 6.0.3 (#9828) 2026-06-11 21:19:13 -07:00
tptp-benchmark.md Suppress auto-created failure issues for agentic workflows (#9834) 2026-06-11 20:57:43 -07:00
wasm-release.yml Bump actions/checkout from 6.0.2 to 6.0.3 (#9715) 2026-06-04 16:14:05 -07:00
wasm.yml Bump actions/checkout from 6.0.2 to 6.0.3 (#9715) 2026-06-04 16:14:05 -07:00
Windows.yml Lcube (#9858) 2026-06-14 16:25:21 -07:00
wip.yml Bump actions/checkout from 6.0.2 to 6.0.3 (#9715) 2026-06-04 16:14:05 -07:00
workflow-suggestion-agent.lock.yml Bump actions/checkout from 6.0.2 to 6.0.3 (#9828) 2026-06-11 21:19:13 -07:00
workflow-suggestion-agent.md Suppress auto-created failure issues for agentic workflows (#9834) 2026-06-11 20:57:43 -07:00
zipt-code-reviewer.lock.yml Bump actions/checkout from 6.0.2 to 6.0.3 (#9828) 2026-06-11 21:19:13 -07:00
zipt-code-reviewer.md Suppress auto-created failure issues for agentic workflows (#9834) 2026-06-11 20:57:43 -07:00