]> khamidou — GitHub mirrors - safetensors.git/commitdiff
Fixing release script for windows aarch64 and 3.12 (#348)
authorNicolas Patry <patry.nicolas@protonmail.com>
Fri, 8 Sep 2023 11:38:51 +0000 (13:38 +0200)
committerGitHub <noreply@github.com>
Fri, 8 Sep 2023 11:38:51 +0000 (13:38 +0200)
.github/workflows/python-release.yml

index bf9ca1e5b5dc880980b8393206195ed954882447..b3264fb07a7228b334d9cb56a06a51e4deeae2ce 100644 (file)
@@ -42,11 +42,16 @@ jobs:
             ls: dir
             target: i686
             python-architecture: x86
-            interpreter: 3.7 3.8 3.9 3.10 3.11 3.12
+            interpreter: 3.7 3.8 3.9 3.10 3.11
           - os: windows
             ls: dir
-            target: aarch64
-            interpreter: 3.11 3.12
+            target: x86_64
+            python-architecture: x64
+            interpreter: 3.7 3.8 3.9 3.10 3.11
+              # - os: windows
+              #   ls: dir
+              #   target: aarch64
+              #   interpreter: 3.11 3.12
           - os: macos
             target: aarch64
             interpreter: 3.7 3.8 3.9 3.10 3.11 3.12 pypy3.8 pypy3.9 pypy3.10
@@ -78,17 +83,17 @@ jobs:
             platform: linux
             target: s390x
             interpreter: 3.7 3.8 3.9 3.10 3.11 3.12
-              # exclude:
-              #   # Optimized PGO builds for x86_64 manylinux and windows follow a different matrix,
-              #   # maybe in future maturin-action can support this automatically
-              #   - os: ubuntu
-              #     target: x86_64
-              #     manylinux: auto
-              #   - os: windows
-              #     target: x86_64
-              #   # Windows on arm64 only supports Python 3.11+
-              #   - os: windows
-              #     target: aarch64
+        exclude:
+          # Optimized PGO builds for x86_64 manylinux and windows follow a different matrix,
+          # maybe in future maturin-action can support this automatically
+          # - os: ubuntu
+          #   target: x86_64
+          #   manylinux: auto
+          # - os: windows
+          #   target: x86_64
+          # Windows on arm64 only supports Python 3.11+
+          - os: windows
+            target: aarch64
 
     runs-on: ${{ matrix.os }}-latest
     steps: