Skip to content

Commit 6f9aeaf

Browse files
committed
add python 3.10 to tests
optimize win32 builds
1 parent e301b8c commit 6f9aeaf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/pythonpackage.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
strategy:
1414
matrix:
1515
os: [ubuntu-latest, macos-latest, windows-latest]
16-
python-version: [2.7, 3.5, 3.6, 3.7, 3.8, 3.9]
16+
python-version: ["2.7", "3.5", "3.6", "3.7", "3.8", "3.9", "3.10"]
1717
exclude:
1818
- os: windows-latest
1919
python-version: 2.7

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
]
1616

1717
if sys.platform == "win32":
18-
cflags = ["/O2"]
18+
cflags = ["/O2", "/arch:AVX2"]
1919
else:
2020
if platform.machine().lower() in ("x86_64", "amd64"):
2121
cflags = ["-O3", "-msse4.2"]

0 commit comments

Comments
 (0)