Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(ci): build and test macOS universal2 wheels on macOS arm64 #6117

Merged
merged 3 commits into from
May 1, 2024

Conversation

mayeut
Copy link
Contributor

@mayeut mayeut commented May 1, 2024

Description

Build and test macOS universal2 wheels on macOS arm64
Removes x86_64 wheels.

Motivation and Context

macos-latest runners moved to macOS 14 running on arm64 hardware.
This is breaking the macOS release pipeline.

This PR rewrites the macOS release pipeline in 2 parts:

  • Build universal2 wheels on macos-latest
  • Test both arm64 & x86_64 parts of the universal2 wheel on macos-latest

The x86_64 wheels have been removed as the universal2 ones can be used on x86_64.

close #6105

@mayeut mayeut requested a review from a team as a code owner May 1, 2024 16:01
Signed-off-by: mayeut <mayeut@users.noreply.github.com>
@justinchuby justinchuby added the run release CIs Use this label to trigger release tests in CI label May 1, 2024
@justinchuby justinchuby closed this May 1, 2024
@justinchuby justinchuby reopened this May 1, 2024
@justinchuby justinchuby added the build Issues related to ONNX builds and packages label May 1, 2024
Copy link

codecov bot commented May 1, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 57.04%. Comparing base (83194ed) to head (1ac0569).
Report is 24 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6117      +/-   ##
==========================================
+ Coverage   56.95%   57.04%   +0.08%     
==========================================
  Files         506      506              
  Lines       30467    30935     +468     
  Branches     4592     4592              
==========================================
+ Hits        17353    17646     +293     
- Misses      12285    12463     +178     
+ Partials      829      826       -3     

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

setup.py Show resolved Hide resolved
@justinchuby
Copy link
Contributor

The changes look great. Only minor comments. Thanks!

@justinchuby justinchuby self-assigned this May 1, 2024
Signed-off-by: mayeut <mayeut@users.noreply.github.com>
setup.py Outdated Show resolved Hide resolved
docs/CIPipelines.md Outdated Show resolved Hide resolved
Signed-off-by: Justin Chu <justinchuby@users.noreply.github.com>
@justinchuby justinchuby enabled auto-merge May 1, 2024 20:30
@justinchuby justinchuby added this pull request to the merge queue May 1, 2024
Merged via the queue into onnx:main with commit 1529880 May 1, 2024
58 of 68 checks passed
@justinchuby justinchuby mentioned this pull request May 1, 2024
@justinchuby justinchuby added this to the 1.16.1 milestone May 1, 2024
isdanni pushed a commit to isdanni/onnx that referenced this pull request May 2, 2024
…x#6117)

### Description
Build and test macOS universal2 wheels on macOS arm64
Removes x86_64 wheels.

### Motivation and Context
`macos-latest` runners moved to macOS 14 running on arm64 hardware.
This is breaking the macOS release pipeline.

This PR rewrites the macOS release pipeline in 2 parts:
- Build universal2 wheels on `macos-latest`
- Test both arm64 & x86_64 parts of the universal2 wheel on
`macos-latest`

The x86_64 wheels have been removed as the universal2 ones can be used
on x86_64.

close onnx#6105

---------

Signed-off-by: mayeut <mayeut@users.noreply.github.com>
Signed-off-by: Justin Chu <justinchuby@users.noreply.github.com>
Co-authored-by: Justin Chu <justinchuby@users.noreply.github.com>
Signed-off-by: isdanni <leedanni@gmail.com>
@mayeut mayeut deleted the macos-arm64-build branch May 2, 2024 05:28
cjvolzka pushed a commit that referenced this pull request May 2, 2024
### Description
Build and test macOS universal2 wheels on macOS arm64
Removes x86_64 wheels.

### Motivation and Context
`macos-latest` runners moved to macOS 14 running on arm64 hardware.
This is breaking the macOS release pipeline.

This PR rewrites the macOS release pipeline in 2 parts:
- Build universal2 wheels on `macos-latest`
- Test both arm64 & x86_64 parts of the universal2 wheel on
`macos-latest`

The x86_64 wheels have been removed as the universal2 ones can be used
on x86_64.

close #6105

---------

Signed-off-by: mayeut <mayeut@users.noreply.github.com>
Signed-off-by: Justin Chu <justinchuby@users.noreply.github.com>
Co-authored-by: Justin Chu <justinchuby@users.noreply.github.com>
(cherry picked from commit 1529880)
cjvolzka pushed a commit that referenced this pull request May 2, 2024
### Description
Build and test macOS universal2 wheels on macOS arm64
Removes x86_64 wheels.

### Motivation and Context
`macos-latest` runners moved to macOS 14 running on arm64 hardware.
This is breaking the macOS release pipeline.

This PR rewrites the macOS release pipeline in 2 parts:
- Build universal2 wheels on `macos-latest`
- Test both arm64 & x86_64 parts of the universal2 wheel on
`macos-latest`

The x86_64 wheels have been removed as the universal2 ones can be used
on x86_64.

close #6105

---------

Signed-off-by: Matthieu Darbois <mayeut@users.noreply.github.com>
Signed-off-by: Justin Chu <justinchuby@users.noreply.github.com>
Co-authored-by: Justin Chu <justinchuby@users.noreply.github.com>
(cherry picked from commit 1529880)
cjvolzka pushed a commit that referenced this pull request May 2, 2024
### Description
Build and test macOS universal2 wheels on macOS arm64
Removes x86_64 wheels.

### Motivation and Context
`macos-latest` runners moved to macOS 14 running on arm64 hardware.
This is breaking the macOS release pipeline.

This PR rewrites the macOS release pipeline in 2 parts:
- Build universal2 wheels on `macos-latest`
- Test both arm64 & x86_64 parts of the universal2 wheel on
`macos-latest`

The x86_64 wheels have been removed as the universal2 ones can be used
on x86_64.

close #6105

---------

Signed-off-by: Matthieu Darbois <mayeut@users.noreply.github.com>
Signed-off-by: Justin Chu <justinchuby@users.noreply.github.com>
Co-authored-by: Justin Chu <justinchuby@users.noreply.github.com>
(cherry picked from commit 1529880)
justinchuby added a commit that referenced this pull request May 4, 2024
### Description
Build and test macOS universal2 wheels on macOS arm64
Removes x86_64 wheels.

### Motivation and Context
`macos-latest` runners moved to macOS 14 running on arm64 hardware.
This is breaking the macOS release pipeline.

This PR rewrites the macOS release pipeline in 2 parts:
- Build universal2 wheels on `macos-latest`
- Test both arm64 & x86_64 parts of the universal2 wheel on
`macos-latest`

The x86_64 wheels have been removed as the universal2 ones can be used
on x86_64.

close #6105

---------

Signed-off-by: mayeut <mayeut@users.noreply.github.com>
Signed-off-by: Justin Chu <justinchuby@users.noreply.github.com>
Co-authored-by: Justin Chu <justinchuby@users.noreply.github.com>
Signed-off-by: Justin Chu <justinchu@microsoft.com>
isdanni pushed a commit to isdanni/onnx that referenced this pull request May 6, 2024
…x#6117)

### Description
Build and test macOS universal2 wheels on macOS arm64
Removes x86_64 wheels.

### Motivation and Context
`macos-latest` runners moved to macOS 14 running on arm64 hardware.
This is breaking the macOS release pipeline.

This PR rewrites the macOS release pipeline in 2 parts:
- Build universal2 wheels on `macos-latest`
- Test both arm64 & x86_64 parts of the universal2 wheel on
`macos-latest`

The x86_64 wheels have been removed as the universal2 ones can be used
on x86_64.

close onnx#6105

---------

Signed-off-by: mayeut <mayeut@users.noreply.github.com>
Signed-off-by: Justin Chu <justinchuby@users.noreply.github.com>
Co-authored-by: Justin Chu <justinchuby@users.noreply.github.com>
Signed-off-by: isdanni <leedanni@gmail.com>
@cjvolzka cjvolzka mentioned this pull request May 9, 2024
cjvolzka added a commit that referenced this pull request May 9, 2024
### Description
Check-pick commits from `main` into `rel-1.16.1` branch

### Motivation and Context
Fix 1.16.0 issues and enabled 1.16.1 builds by cherry-picking the
following PRs from `main` into the `1.16.1` branch

* Fixes since 1.16.0 release
    * #6049
    * #6048
    * #6080
    * #6122

* Update CI and Build to enable 1.16.1 builds
    * #6106
    * #6129
    * #6075
    * #6117

---------

Co-authored-by: liqun Fu <liqfu@microsoft.com>
Co-authored-by: G. Ramalingam <grama@microsoft.com>
Co-authored-by: Matthieu Darbois <mayeut@users.noreply.github.com>
Co-authored-by: Adrian Lizarraga <adlizarraga@microsoft.com>
Co-authored-by: Justin Chu <justinchuby@users.noreply.github.com>
gramalingam pushed a commit to gramalingam/onnx that referenced this pull request Jun 6, 2024
…x#6117)

### Description
Build and test macOS universal2 wheels on macOS arm64
Removes x86_64 wheels.

### Motivation and Context
`macos-latest` runners moved to macOS 14 running on arm64 hardware.
This is breaking the macOS release pipeline.

This PR rewrites the macOS release pipeline in 2 parts:
- Build universal2 wheels on `macos-latest`
- Test both arm64 & x86_64 parts of the universal2 wheel on
`macos-latest`

The x86_64 wheels have been removed as the universal2 ones can be used
on x86_64.

close onnx#6105

---------

Signed-off-by: mayeut <mayeut@users.noreply.github.com>
Signed-off-by: Justin Chu <justinchuby@users.noreply.github.com>
Co-authored-by: Justin Chu <justinchuby@users.noreply.github.com>
Signed-off-by: Ganesan Ramalingam <grama@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Issues related to ONNX builds and packages run release CIs Use this label to trigger release tests in CI
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants