From 7ba0e7205e4e5c74abd7e8f352e563427eed2501 Mon Sep 17 00:00:00 2001 From: Sviatoslav Sydorenko Date: Tue, 2 Jan 2024 02:56:56 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=AA=F0=9F=93=A6=20Build=20pure-python?= =?UTF-8?q?=20"any"=20wheel=20too=20@=20CI/CD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/ci-cd.yml | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index acad70c7a..db2f44849 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -107,8 +107,8 @@ jobs: run: | echo "Predeploy step" - build-tarball: - name: Tarball + build-pure-python-dists: + name: 📦 Build distribution packages runs-on: ubuntu-latest needs: pre-deploy steps: @@ -118,10 +118,12 @@ jobs: uses: actions/setup-python@v5 with: python-version: 3.x - - name: Make sdist - run: - pip install -U build - python -m build --sdist + - name: Install core libraries for build + run: python -Im pip install build + - name: Build sdists and pure-python wheel + env: + MULTIDICT_NO_EXTENSIONS: Y + run: python -Im build - name: Upload artifacts uses: actions/upload-artifact@v3 with: @@ -172,7 +174,9 @@ jobs: deploy: name: Deploy - needs: [build-tarball, build-wheels] + needs: + - build-pure-python-dists + - build-wheels runs-on: ubuntu-latest permissions: