Skip to content

Commit

Permalink
[force ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
hzhangxyz committed Dec 11, 2023
1 parent 41383af commit 70aa723
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 63 deletions.
56 changes: 0 additions & 56 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,72 +122,20 @@ jobs:
fail-fast: false
matrix:
include:
# Always support manylinux x86_64 platform
- os: ubuntu-latest
python: 38
platform_id: manylinux_x86_64
- os: ubuntu-latest
python: 39
platform_id: manylinux_x86_64
- os: ubuntu-latest
python: 310
platform_id: manylinux_x86_64
- os: ubuntu-latest
python: 311
platform_id: manylinux_x86_64
- os: ubuntu-latest
python: 312
platform_id: manylinux_x86_64

# Always support musllinux x86_64 platform
- os: ubuntu-latest
python: 38
platform_id: musllinux_x86_64
- os: ubuntu-latest
python: 39
platform_id: musllinux_x86_64
- os: ubuntu-latest
python: 310
platform_id: musllinux_x86_64
- os: ubuntu-latest
python: 311
platform_id: musllinux_x86_64
- os: ubuntu-latest
python: 312
platform_id: musllinux_x86_64

# Only support the latest two version for macos platform
- os: macos-latest
python: 311
platform_id: macosx_x86_64
mac_arch: x86_64
- os: macos-latest
python: 312
platform_id: macosx_x86_64
mac_arch: x86_64

- os: macos-latest
python: 311
platform_id: macosx_arm64
mac_arch: arm64
- os: macos-latest
python: 312
platform_id: macosx_arm64
mac_arch: arm64

# Only support latest four version for windows platform
- os: windows-latest
python: 39
platform_id: win_amd64
- os: windows-latest
python: 310
platform_id: win_amd64
- os: windows-latest
python: 311
platform_id: win_amd64
- os: windows-latest
python: 312
platform_id: win_amd64

steps:
- name: checkout
Expand All @@ -214,10 +162,6 @@ jobs:
path: PyTAT
- name: build wheel for PyTAT
env:
CIBW_TEST_REQUIRES: pytest
CIBW_TEST_COMMAND: pytest {project}/PyTAT/tests
CIBW_TEST_SKIP: "*-macosx_arm64"

CIBW_BUILD: cp${{ matrix.python }}-${{ matrix.platform_id }}
CIBW_ARCHS: all

Expand Down
8 changes: 1 addition & 7 deletions PyTAT/PyTAT.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,7 @@ namespace py = pybind11;

#define TAT_LOOP_ALL_SCALAR_SYMMETRY \
TAT_SINGLE_SYMMETRY_ALL_SCALAR(No) \
TAT_SINGLE_SYMMETRY_ALL_SCALAR(Z2) \
TAT_SINGLE_SYMMETRY_ALL_SCALAR(U1) \
TAT_SINGLE_SYMMETRY_ALL_SCALAR(Fermi) \
TAT_SINGLE_SYMMETRY_ALL_SCALAR(FermiZ2) \
TAT_SINGLE_SYMMETRY_ALL_SCALAR(FermiU1) \
TAT_SINGLE_SYMMETRY_ALL_SCALAR(Parity) \
TAT_SINGLE_SYMMETRY_ALL_SCALAR(FermiFermi)
TAT_SINGLE_SYMMETRY_ALL_SCALAR(Parity)

#define deprecated(message) PyErr_WarnEx(PyExc_DeprecationWarning, message, 1)

Expand Down

0 comments on commit 70aa723

Please sign in to comment.