From 5cad10553a162f6ae6278e8ffb51872f1c144306 Mon Sep 17 00:00:00 2001 From: Jake Selig Date: Mon, 18 Mar 2024 16:26:09 -0700 Subject: [PATCH] chore: skip macos for now --- .github/workflows/release-python-grpc-web.yml | 71 ++++++++++--------- 1 file changed, 36 insertions(+), 35 deletions(-) diff --git a/.github/workflows/release-python-grpc-web.yml b/.github/workflows/release-python-grpc-web.yml index 4bb840d0f..d97ba2cfb 100644 --- a/.github/workflows/release-python-grpc-web.yml +++ b/.github/workflows/release-python-grpc-web.yml @@ -26,40 +26,40 @@ jobs: steps: - run: echo "Publishing wheels" - macos: - runs-on: macos-12 - needs: [is-python-release, should-publish-wheels] - env: - CXXFLAGS: "-std=c++11 -stdlib=libc++" - steps: - - uses: actions/checkout@v2 - - uses: actions/setup-python@v4 - with: - python-version: ${{ matrix.python-version }} - - name: Install protoc - uses: arduino/setup-protoc@v1 - with: - repo-token: ${{ secrets.GITHUB_TOKEN }} - version: '3.20.1' - - name: Patch package metadata for grpc-web - working-directory: ./crates/python - run: | - pip install toml - python scripts/patch_package_name.py - - name: Build wheels - universal2 - # universal2 supports both x86_64 and aarch64 - uses: messense/maturin-action@v1 - with: - 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 - docker-options: -e CI - - name: Install wheel - run: | - pip install qcs-sdk-python --find-links dist --force-reinstall - - name: Upload wheels - uses: actions/upload-artifact@v3 - with: - name: wheels-grpc-web - path: dist + # macos: + # runs-on: macos-12 + # needs: [is-python-release, should-publish-wheels] + # env: + # CXXFLAGS: "-std=c++11 -stdlib=libc++" + # steps: + # - uses: actions/checkout@v2 + # - uses: actions/setup-python@v4 + # with: + # python-version: ${{ matrix.python-version }} + # - name: Install protoc + # uses: arduino/setup-protoc@v1 + # with: + # repo-token: ${{ secrets.GITHUB_TOKEN }} + # version: '3.20.1' + # - name: Patch package metadata for grpc-web + # working-directory: ./crates/python + # run: | + # pip install toml + # python scripts/patch_package_name.py + # - name: Build wheels - universal2 + # # universal2 supports both x86_64 and aarch64 + # uses: messense/maturin-action@v1 + # with: + # 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 + # docker-options: -e CI + # - name: Install wheel + # run: | + # pip install qcs-sdk-python --find-links dist --force-reinstall + # - name: Upload wheels + # uses: actions/upload-artifact@v3 + # with: + # name: wheels-grpc-web + # path: dist linux: runs-on: ubuntu-latest @@ -142,7 +142,8 @@ jobs: # finish, regardless of their outcome. In this case, we # still make sure that at least a source distribution # can be published. - needs: [ macos, linux, sdist ] + needs: [ linux, sdist ] + # needs: [ macos, linux, sdist ] if: always() && needs.sdist.result == 'success' permissions: id-token: write