Skip to content

fix: clippy warning #212

fix: clippy warning

fix: clippy warning #212

Workflow file for this run

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