Skip to content

Commit

Permalink
debugging extension compile
Browse files Browse the repository at this point in the history
  • Loading branch information
davidhewitt committed Dec 21, 2020
1 parent d048290 commit f94bb4c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
10 changes: 9 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ jobs:
fail-fast: false # If one platform fails, allow the rest to keep testing.
matrix:
rust: [stable]
python-version: [3.6, 3.7, 3.8, 3.9, 3.10-dev, pypy-3.6]
# python-version: [3.6, 3.7, 3.8, 3.9, 3.10-dev, pypy-3.6]
python-version: [pypy-3.6]
platform: [
{ os: "macOS-latest", python-architecture: "x64", rust-target: "x86_64-apple-darwin" },
{ os: "ubuntu-latest", python-architecture: "x64", rust-target: "x86_64-unknown-linux-gnu" },
Expand Down Expand Up @@ -110,6 +111,13 @@ jobs:
python -m pip install -U pip setuptools
pip install setuptools-rust pytest pytest-benchmark tox tox-venv
- name: Build example extension modules
shell: bash
run: |
for example_dir in examples/*; do
cargo build --manifest-path $example_dir/Cargo.toml
done
- name: Test example extension modules
shell: bash
run: |
Expand Down
3 changes: 2 additions & 1 deletion examples/maturin_extension/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
[build-system]
requires = ["maturin @ git+https://github.com/davidhewitt/maturin.git@7a3237299e6bb617f8d4b0957ce205da0f0770d4"]
# requires = ["maturin @ git+https://github.com/davidhewitt/maturin.git@7a3237299e6bb617f8d4b0957ce205da0f0770d4"]
requires = ["maturin @ git+https://github.com/davidhewitt/maturin.git@25891771747903276c24e9995c2a8268b84fda8e"]
build-backend = "maturin"

0 comments on commit f94bb4c

Please sign in to comment.