Skip to content

Commit 5cad105

Browse files
chore: skip macos for now
1 parent 939eec2 commit 5cad105

File tree

1 file changed

+36
-35
lines changed

1 file changed

+36
-35
lines changed

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

+36-35
Original file line numberDiff line numberDiff line change
@@ -26,40 +26,40 @@ 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-
- name: Build wheels - universal2
50-
# universal2 supports both x86_64 and aarch64
51-
uses: messense/maturin-action@v1
52-
with:
53-
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
54-
docker-options: -e CI
55-
- name: Install wheel
56-
run: |
57-
pip install qcs-sdk-python --find-links dist --force-reinstall
58-
- name: Upload wheels
59-
uses: actions/upload-artifact@v3
60-
with:
61-
name: wheels-grpc-web
62-
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+
# - name: Build wheels - universal2
50+
# # universal2 supports both x86_64 and aarch64
51+
# uses: messense/maturin-action@v1
52+
# with:
53+
# 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
54+
# docker-options: -e CI
55+
# - name: Install wheel
56+
# run: |
57+
# pip install qcs-sdk-python --find-links dist --force-reinstall
58+
# - name: Upload wheels
59+
# uses: actions/upload-artifact@v3
60+
# with:
61+
# name: wheels-grpc-web
62+
# path: dist
6363

6464
linux:
6565
runs-on: ubuntu-latest
@@ -142,7 +142,8 @@ jobs:
142142
# finish, regardless of their outcome. In this case, we
143143
# still make sure that at least a source distribution
144144
# can be published.
145-
needs: [ macos, linux, sdist ]
145+
needs: [ linux, sdist ]
146+
# needs: [ macos, linux, sdist ]
146147
if: always() && needs.sdist.result == 'success'
147148
permissions:
148149
id-token: write

0 commit comments

Comments
 (0)