-
Notifications
You must be signed in to change notification settings - Fork 597
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci(wheels): Use podman instead of Docker for MacOS ARM64 Linux cross
Signed-off-by: Zach Lewis <[email protected]>
- Loading branch information
Showing
1 changed file
with
11 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -240,15 +240,7 @@ jobs: | |
name: Install Python | ||
with: | ||
python-version: '3.8' | ||
|
||
- name: Install Docker | ||
run: | | ||
brew install --cask docker | ||
open /Applications/Docker.app | ||
while ! docker system info; do sleep 1; done | ||
env: | ||
HOMEBREW_NO_AUTO_UPDATE: 1 | ||
|
||
|
||
- name: Build wheels | ||
uses: pypa/[email protected] | ||
env: | ||
|
@@ -304,12 +296,22 @@ jobs: | |
name: Install Python | ||
with: | ||
python-version: '3.8' | ||
|
||
- name: Install Podman | ||
run: | | ||
brew install podman | ||
podman machine init | ||
podman machine start | ||
- name: Verify Podman Installation | ||
run: podman --version | ||
|
||
- name: Build wheels | ||
uses: pypa/[email protected] | ||
env: | ||
CIBW_BUILD: ${{ matrix.python }} | ||
CIBW_PLATFORM: linux | ||
CIBW_CONTAINER_ENGINE: podman | ||
CIBW_ARCHS_LINUX: ${{ matrix.arch }} | ||
CIBW_MANYLINUX_AARCH64_IMAGE: ${{ matrix.manylinux }} | ||
|
||
|