Skip to content

Commit

Permalink
chore: split grpc web into separate job
Browse files Browse the repository at this point in the history
  • Loading branch information
jselig-rigetti committed Apr 3, 2024
1 parent e1bcf9a commit 3aeddb3
Showing 1 changed file with 23 additions and 4 deletions.
27 changes: 23 additions & 4 deletions .github/workflows/release-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,7 @@ jobs:
CXXFLAGS: "-std=c++11"
strategy:
matrix:
package-name: [qcs-sdk-python, qcs-sdk-python-grpc-web]
target: [x86_64, aarch64, ppc64le]
target: [x86_64, aarch64]
steps:
- uses: actions/checkout@v2
- name: Install protoc
Expand All @@ -63,7 +62,27 @@ jobs:
version: '3.20.1'
- uses: ./.github/action-common-python-release
with:
package-name: ${{ matrix.package-name }}
package-name: qcs-sdk-python
maturin-target: ${{ matrix.target }}

linux-grpc-web:
runs-on: ubuntu-latest
needs: [is-python-release, should-publish-wheels]
env:
CXXFLAGS: "-std=c++11"
strategy:
matrix:
target: [x86_64, ppc64le]
steps:
- uses: actions/checkout@v2
- name: Install protoc
uses: arduino/setup-protoc@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
version: '3.20.1'
- uses: ./.github/action-common-python-release
with:
package-name: qcs-sdk-python-grpc-web
maturin-target: ${{ matrix.target }}

windows:
Expand Down Expand Up @@ -114,7 +133,7 @@ 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, windows, sdist ]
needs: [ macos, linux, linux-grpc-web, windows, sdist ]
if: always() && needs.sdist.result == 'success'
permissions:
id-token: write
Expand Down

0 comments on commit 3aeddb3

Please sign in to comment.