Make grpc-web an opt-in feature #2
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Linux Wheel | |
on: | |
push: | |
branches: | |
- 'grpc-web-rc' | |
jobs: | |
linux: | |
runs-on: ubuntu-latest | |
env: | |
CXXFLAGS: "-std=c++11" | |
strategy: | |
matrix: | |
python-version: ['3.10'] | |
target: [x86_64] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install Rust | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
profile: minimal | |
default: true | |
- 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: Build wheels | |
uses: messense/maturin-action@v1 | |
with: | |
target: ${{ matrix.target }} | |
manylinux: '2_28' | |
args: -i ${{ matrix.python-version }} --release --manifest-path crates/python/Cargo.toml --out dist | |
- name: Upload wheels | |
uses: actions/upload-artifact@v3 | |
with: | |
name: wheels | |
path: dist | |