3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-07-15 03:25:43 +00:00

Align release macOS build targets with nightly’s 13.3 settings (#10118)

The `Release Build` workflow still targeted macOS 13.0 for the x64/arm64
packaging jobs, while the codebase now relies on libc++ functionality
that is only available with a 13.3 deployment target. This updates the
release workflow to use the same macOS target configuration already
applied in `nightly.yml`.

- **Release workflow**
- Raise `MACOSX_DEPLOYMENT_TARGET` from `13.0` to `13.3` for both
`mac-build-x64` and `mac-build-arm64`
- Update the packaging target passed to `mk_unix_dist.py` from
`--os=osx-13.0` to `--os=osx-13.3`

- **Config alignment**
- Bring `release.yml` in sync with the existing nightly macOS fix so
both workflows build against the same minimum macOS version

```yaml
env:
  MACOSX_DEPLOYMENT_TARGET: "13.3"

run: python scripts/mk_unix_dist.py --arch=x64 --os=osx-13.3
```

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
This commit is contained in:
Copilot 2026-07-13 17:51:57 -07:00 committed by GitHub
parent 26ad30bb76
commit 5c0443591d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -35,7 +35,7 @@ jobs:
runs-on: macos-15
timeout-minutes: 90
env:
MACOSX_DEPLOYMENT_TARGET: "13.0"
MACOSX_DEPLOYMENT_TARGET: "13.3"
steps:
- name: Checkout code
uses: actions/checkout@v7.0.0
@ -46,7 +46,7 @@ jobs:
python-version: '3.x'
- name: Build
run: python scripts/mk_unix_dist.py --dotnet-key=$GITHUB_WORKSPACE/resources/z3.snk --arch=x64 --os=osx-13.0
run: python scripts/mk_unix_dist.py --dotnet-key=$GITHUB_WORKSPACE/resources/z3.snk --arch=x64 --os=osx-13.3
- name: Validate libz3.dylib and z3 architecture (must be x86_64)
run: |
@ -79,7 +79,7 @@ jobs:
runs-on: macos-15
timeout-minutes: 90
env:
MACOSX_DEPLOYMENT_TARGET: "13.0"
MACOSX_DEPLOYMENT_TARGET: "13.3"
steps:
- name: Checkout code
uses: actions/checkout@v7.0.0
@ -90,7 +90,7 @@ jobs:
python-version: '3.x'
- name: Build
run: python scripts/mk_unix_dist.py --dotnet-key=$GITHUB_WORKSPACE/resources/z3.snk --arch=arm64 --os=osx-13.0
run: python scripts/mk_unix_dist.py --dotnet-key=$GITHUB_WORKSPACE/resources/z3.snk --arch=arm64 --os=osx-13.3
- name: Validate libz3.dylib and z3 architecture (must be arm64)
run: |