Skip to content

Commit

Permalink
Add arm64 arch for macos build-wheels
Browse files Browse the repository at this point in the history
  • Loading branch information
EmilDohne committed Mar 8, 2024
1 parent 3a9e8a6 commit f5a3b64
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/build-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ name: Python Wheels

on:
workflow_dispatch:
push:
branches:
- dev
pull_request:
branches:
- master
Expand Down Expand Up @@ -49,7 +52,6 @@ jobs:
CC: gcc-13
CXX: g++-13
CIBW_ARCHS: auto64
CIBW_ARCHS_MACOS: x86_64
CIBW_SKIP: "*-musllinux_* pp*" #disable musllinux and pypy builds for now to speed up execution

- name: Verify clean directory
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
cmake_minimum_required (VERSION 3.20)
project ("PhotoshopAPIBuild" VERSION 0.3.0 LANGUAGES CXX)
project ("PhotoshopAPIBuild" VERSION 0.4.0 LANGUAGES CXX)

if (MSVC)
# MSVC is stupid
Expand Down
3 changes: 0 additions & 3 deletions PhotoshopTest/src/TestRoundtripping/TestRoundtripping.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@ void checkFileRoundtripping(const std::filesystem::path& inDir, const std::files
std::filesystem::path fullInPath = inDir / psFile;
std::filesystem::path fullOutPath = outDir / psFile;

PSAPI_LOG("Test", "Started running roundtripping test on '%s'", fullInPath.string().c_str());
PSAPI_LOG("Test", "with output path '%s'", fullOutPath.string().c_str());

// Load the input file
auto inputFile = File(fullInPath);
auto psDocumentPtr = std::make_unique<PhotoshopFile>();
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,5 +166,5 @@ def build_extension(self, ext: CMakeExtension) -> None:
install_requires= [
"numpy>=1.26"
],
python_requires=">=3.7",
python_requires=">=3.11",
)

0 comments on commit f5a3b64

Please sign in to comment.