Bump pyo3 from 0.20.1 to 0.20.2 #118
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: Bindings | |
'on': | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
WebAssembly: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Cache | |
uses: actions/cache@v3 | |
with: | |
path: | | |
~/.cargo/bin/ | |
~/.cargo/registry/index/ | |
~/.cargo/registry/cache/ | |
~/.cargo/git/db/ | |
target/ | |
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} | |
- name: Install Wasm-Pack | |
run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh | |
- name: Build Package | |
run: make build-wasm | |
- name: Install Test Dependencies | |
working-directory: bindings/lz-str-wasm/binding-tests | |
run: npm i | |
- name: Run Tests | |
working-directory: bindings/lz-str-wasm/binding-tests | |
run: npm test | |
Python: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install Maturin | |
run: pip install maturin | |
- name: Build Wheel | |
working-directory: bindings/lz-str-py | |
run: maturin build --release |