From 06bf362ffe1d563a5320638fe88a82f5662e02b7 Mon Sep 17 00:00:00 2001 From: Tpt Date: Mon, 15 Feb 2021 07:47:34 +0100 Subject: [PATCH] Simplifies Python wheel build on CI --- .github/workflows/build.yml | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8095ae91..b3642de3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -69,25 +69,17 @@ jobs: - run: source ../venv/bin/activate && sphinx-build -M html . build working-directory: ./python/docs - python_wheel_linux: - runs-on: ubuntu-latest - needs: python - steps: - - uses: actions/checkout@v2 - - run: docker run --rm -v $(pwd):/io konstin2/maturin build - working-directory: ./python - - python_wheel_mac_windows: + python_wheel: runs-on: ${{ matrix.os }} needs: python strategy: matrix: - os: [ macos-latest, windows-latest ] + os: [ ubuntu-latest, macos-latest, windows-latest ] steps: - uses: actions/checkout@v2 - uses: actions/setup-python@v2 with: python-version: 3.6 - run: pip install maturin - - run: maturin build --no-sdist + - run: maturin build working-directory: ./python