Skip to content

Commit 8503d7f

Browse files
chore: don't run mac build on test
1 parent 969b8b2 commit 8503d7f

File tree

1 file changed

+36
-36
lines changed

1 file changed

+36
-36
lines changed

.github/workflows/release-python-grpc-web.yml

+36-36
Original file line numberDiff line numberDiff line change
@@ -26,42 +26,42 @@ jobs:
2626
steps:
2727
- run: echo "Publishing wheels"
2828

29-
macos:
30-
runs-on: macos-12
31-
needs: [is-python-release, should-publish-wheels]
32-
env:
33-
CXXFLAGS: "-std=c++11 -stdlib=libc++"
34-
steps:
35-
- uses: actions/checkout@v2
36-
- uses: actions/setup-python@v4
37-
with:
38-
python-version: ${{ matrix.python-version }}
39-
- name: Install protoc
40-
uses: arduino/setup-protoc@v1
41-
with:
42-
repo-token: ${{ secrets.GITHUB_TOKEN }}
43-
version: '3.20.1'
44-
- name: Patch package metadata for grpc-web
45-
working-directory: ./crates/python
46-
run: |
47-
pip install toml
48-
python scripts/patch_package_name.py
49-
cd ../..
50-
python crates/python/scripts/patch_hyper_proxy.py
51-
- name: Build wheels - universal2
52-
# universal2 supports both x86_64 and aarch64
53-
uses: messense/maturin-action@v1
54-
with:
55-
args: -i 3.8 3.9 3.10 3.11 3.12 --release --target universal2-apple-darwin --manifest-path crates/python/Cargo.toml --features grpc-web --out dist
56-
docker-options: -e CI
57-
- name: Install wheel
58-
run: |
59-
pip install qcs-sdk-python --find-links dist --force-reinstall
60-
- name: Upload wheels
61-
uses: actions/upload-artifact@v3
62-
with:
63-
name: wheels-grpc-web
64-
path: dist
29+
# macos:
30+
# runs-on: macos-12
31+
# needs: [is-python-release, should-publish-wheels]
32+
# env:
33+
# CXXFLAGS: "-std=c++11 -stdlib=libc++"
34+
# steps:
35+
# - uses: actions/checkout@v2
36+
# - uses: actions/setup-python@v4
37+
# with:
38+
# python-version: ${{ matrix.python-version }}
39+
# - name: Install protoc
40+
# uses: arduino/setup-protoc@v1
41+
# with:
42+
# repo-token: ${{ secrets.GITHUB_TOKEN }}
43+
# version: '3.20.1'
44+
# - name: Patch package metadata for grpc-web
45+
# working-directory: ./crates/python
46+
# run: |
47+
# pip install toml
48+
# python scripts/patch_package_name.py
49+
# cd ../..
50+
# python crates/python/scripts/patch_hyper_proxy.py
51+
# - name: Build wheels - universal2
52+
# # universal2 supports both x86_64 and aarch64
53+
# uses: messense/maturin-action@v1
54+
# with:
55+
# args: -i 3.8 3.9 3.10 3.11 3.12 --release --target universal2-apple-darwin --manifest-path crates/python/Cargo.toml --features grpc-web --out dist
56+
# docker-options: -e CI
57+
# - name: Install wheel
58+
# run: |
59+
# pip install qcs-sdk-python --find-links dist --force-reinstall
60+
# - name: Upload wheels
61+
# uses: actions/upload-artifact@v3
62+
# with:
63+
# name: wheels-grpc-web
64+
# path: dist
6565

6666
linux:
6767
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)