Bump zipp from 0.6.0 to 3.19.1 in /python #214
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: Rust Windows | |
on: [push, pull_request] | |
jobs: | |
test: | |
name: Test Suite | |
runs-on: windows-latest | |
strategy: | |
matrix: | |
python-version: [3.7] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: dtolnay/rust-toolchain@nightly | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
choco install capnproto | |
python -m pip install --upgrade pip | |
- name: Cargo Test | |
run: cargo test --all | |
- name: Install pycapnp dependencies and run test | |
shell: cmd | |
env: | |
CXXFLAGS: -fPIC | |
CFLAGS: -fPIC | |
working-directory: ./python | |
run: | | |
python -m pip install cython | |
python -m pip install -r requirements.txt | |
python -m pytest -vvv | |
build: | |
name: Build | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: dtolnay/rust-toolchain@nightly | |
- name: Install dependencies | |
run: | | |
choco install capnproto | |
- name: Cargo Install | |
run: cargo install --path . --bins --examples --root dist | |
- uses: actions/upload-artifact@v1.0.0 | |
with: | |
name: win_release_binaries | |
path: dist/bin |