From 041f9cf69d902c27b5d4aed4492c7804e9b57ad8 Mon Sep 17 00:00:00 2001 From: George Marshall Date: Wed, 2 Feb 2022 15:08:26 -0800 Subject: [PATCH] Add M1 MacBook support Change the build.yml to add aarch64/arm64 builds Closes #1782, closes #1945, closes #1954, closes #1966, closes #1972, closes #2090 Signed-off-by: George Marshall --- .github/workflows/build.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f9c0a435d..4d8196895 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -33,6 +33,8 @@ jobs: include: - {name: Linux, python: '3.9', os: ubuntu-latest} env: + CIBW_ARCHS_LINUX: "auto aarch64" + CIBW_ARCHS_MACOS: "x86_64 universal2 arm64" CIBW_TEST_COMMAND: PYTHONWARNINGS=always PYTHONUNBUFFERED=1 PSUTIL_DEBUG=1 python {project}/psutil/tests/runner.py && PYTHONWARNINGS=always PYTHONUNBUFFERED=1 PSUTIL_DEBUG=1 python {project}/psutil/tests/test_memleaks.py