Skip to content

Commit 6de2a49

Browse files
committed
remove macos from ci for now
1 parent 76f00f1 commit 6de2a49

3 files changed

Lines changed: 44 additions & 42 deletions

File tree

.github/workflows/build.yml

Lines changed: 38 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -128,38 +128,38 @@ jobs:
128128
name: windows-wheel-${{ matrix.python-version }}
129129
path: ./dist/*.whl
130130

131-
build-mac:
132-
runs-on: macos-latest
133-
permissions:
134-
contents: write
135-
steps:
136-
- name: Checkout
137-
uses: actions/checkout@v4
138-
with:
139-
submodules: "true"
140-
fetch-depth: 0
141-
fetch-tags: true
142-
- name: Initialize submodules
143-
run: git submodule update --init --recursive
144-
- name: Setup CMake 3.x
145-
uses: jwlawson/actions-setup-cmake@v2
146-
with:
147-
cmake-version: '3.31.x'
148-
- name: Set up pyenv
149-
run: |
150-
brew update
151-
brew install pyenv
152-
echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.zshrc
153-
echo '[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.zshrc
154-
echo 'eval "$(pyenv init - zsh)"' >> ~/.zshrc
155-
source ~/.zshrc
156-
- name: Build wheels
157-
run: "git config --global --add safe.directory '*' && ./scripts/build_mac.sh"
158-
- name: Upload wheels
159-
uses: actions/upload-artifact@v4
160-
with:
161-
name: mac-wheels-all
162-
path: ./dist/*.whl
131+
# build-mac:
132+
# runs-on: macos-latest
133+
# permissions:
134+
# contents: write
135+
# steps:
136+
# - name: Checkout
137+
# uses: actions/checkout@v4
138+
# with:
139+
# submodules: "true"
140+
# fetch-depth: 0
141+
# fetch-tags: true
142+
# - name: Initialize submodules
143+
# run: git submodule update --init --recursive
144+
# - name: Setup CMake 3.x
145+
# uses: jwlawson/actions-setup-cmake@v2
146+
# with:
147+
# cmake-version: '3.31.x'
148+
# - name: Set up pyenv
149+
# run: |
150+
# brew update
151+
# brew install pyenv
152+
# echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.zshrc
153+
# echo '[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.zshrc
154+
# echo 'eval "$(pyenv init - zsh)"' >> ~/.zshrc
155+
# source ~/.zshrc
156+
# - name: Build wheels
157+
# run: "git config --global --add safe.directory '*' && ./scripts/build_mac.sh"
158+
# - name: Upload wheels
159+
# uses: actions/upload-artifact@v4
160+
# with:
161+
# name: mac-wheels-all
162+
# path: ./dist/*.whl
163163

164164
release:
165165
runs-on: ubuntu-latest
@@ -168,7 +168,7 @@ jobs:
168168
build-linux-all,
169169
build-linux-aarch64-all,
170170
build-windows-pybind,
171-
build-mac,
171+
# build-mac,
172172
]
173173
permissions:
174174
contents: write
@@ -208,11 +208,11 @@ jobs:
208208
with:
209209
name: linux-aarch64-wheels-all
210210
path: wheelhouse
211-
- name: Download wheels
212-
uses: actions/download-artifact@v4
213-
with:
214-
name: mac-wheels-all
215-
path: wheelhouse
211+
# - name: Download wheels
212+
# uses: actions/download-artifact@v4
213+
# with:
214+
# name: mac-wheels-all
215+
# path: wheelhouse
216216
- name: ls
217217
run: ls wheelhouse
218218
- name: Update Nightly Release

docker/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ RUN pipx install cmake==3.26.3 --force
1111
RUN /opt/python/cp314-cp314/bin/python -m pip install setuptools wheel
1212
RUN /opt/python/cp313-cp313/bin/python -m pip install setuptools wheel
1313
RUN /opt/python/cp312-cp312/bin/python -m pip install setuptools wheel
14+
RUN /opt/python/cp311-cp311/bin/python -m pip install setuptools wheel
15+
RUN /opt/python/cp310-cp310/bin/python -m pip install setuptools wheel
1416

1517
# custom auditwheel
1618
RUN /opt/python/cp313-cp313/bin/pip install git+https://github.com/fbxiang/auditwheel.git@fe61bcdfb78f3955d9a3b6fbb05e3852c32239b0

docker/arm.Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,11 @@ ENV CUDA_PATH=/workspace/cuda PATH="/workspace/cuda/bin:$PATH" LD_LIBRARY_PATH="
88

99
RUN pipx install cmake==3.26.3 --force
1010

11-
RUN /opt/python/cp312-cp312/bin/python -m pip install setuptools wheel
12-
RUN /opt/python/cp313-cp313/bin/python -m pip install setuptools wheel
1311
RUN /opt/python/cp314-cp314/bin/python -m pip install setuptools wheel
12+
RUN /opt/python/cp313-cp313/bin/python -m pip install setuptools wheel
13+
RUN /opt/python/cp312-cp312/bin/python -m pip install setuptools wheel
14+
RUN /opt/python/cp311-cp311/bin/python -m pip install setuptools wheel
15+
RUN /opt/python/cp310-cp310/bin/python -m pip install setuptools wheel
1416

1517
# custom auditwheel
1618
RUN /opt/python/cp313-cp313/bin/pip install git+https://github.com/fbxiang/auditwheel.git@fe61bcdfb78f3955d9a3b6fbb05e3852c32239b0
@@ -26,5 +28,3 @@ ENV CC=/opt/rh/gcc-toolset-11/root/usr/bin/cc CXX=/opt/rh/gcc-toolset-11/root/us
2628
ENV LD_LIBRARY_PATH=/opt/rh/gcc-toolset-11/root/usr/lib64:/opt/rh/gcc-toolset-11/root/usr/lib:/opt/rh/gcc-toolset-11/root/usr/lib64/dyninst:/opt/rh/gcc-toolset-11/root/usr/lib/dyninst PCP_DIR=/opt/rh/gcc-toolset-11/root/ DEVTOOLSET_ROOTPATH=/opt/rh/gcc-toolset-11/root MANPATH=/opt/rh/gcc-toolset-11/root/usr/share/man PATH=/opt/rh/gcc-toolset-11/root/usr/bin:/usr/share/Modules/bin:/opt/rh/gcc-toolset-11/root/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2729

2830
ENV PATH=/opt/python/cp313-cp313/bin:$PATH
29-
30-
RUN /opt/python/cp312-cp312/bin/python -m pip install setuptools wheel

0 commit comments

Comments
 (0)