diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 05b893c82af..0a14f865731 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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" }, @@ -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: | diff --git a/examples/maturin_extension/pyproject.toml b/examples/maturin_extension/pyproject.toml index 02c1dbc44bb..a44ffa12992 100644 --- a/examples/maturin_extension/pyproject.toml +++ b/examples/maturin_extension/pyproject.toml @@ -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"