From 061706922b077e94bf604317be26851fa7d2ee62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9rome=20Eertmans?= Date: Wed, 7 Sep 2022 23:48:49 +0200 Subject: [PATCH 1/3] Revert "remove dist" This reverts commit dab96c980d1e9f1f2fb6f7d98b975330fa7841f5. --- .github/workflows/python-publish.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index ee11e898..2f7abfb3 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -13,6 +13,10 @@ jobs: if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') runs-on: ubuntu-latest steps: + - uses: actions/download-artifact@v2 + with: + name: dist + path: dist/ - name: Upload to PyPI uses: pypa/gh-action-pypi-publish@master with: From 0bd29202e7f2ed3ac7aa00ed4b0c24c50b527b43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9rome=20Eertmans?= Date: Wed, 7 Sep 2022 23:48:16 +0200 Subject: [PATCH 2/3] Revert "remove builds" This reverts commit 78941e10fcd1e612333f4aab51faf6f3dc4a63b6. --- .github/workflows/python-publish.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index 2f7abfb3..afb7d3d6 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -8,10 +8,38 @@ on: types: [published] jobs: + build_wheels: + name: Build wheels on ${{ matrix.os }} + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu-latest, windows-latest, macos-latest] + + steps: + - uses: actions/checkout@v2 + + # Used to host cibuildwheel + - uses: actions/setup-python@v2 + + - name: Install package + run: python -m pip install -U manim tqdm + + - name: Install cibuildwheel + run: python -m pip install -U setuptools wheel pip + + - name: Build wheels + run: python setup.py sdist + + - uses: actions/upload-artifact@v2 + with: + name: dist + path: dist/*.tar.* + release: name: Release if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') runs-on: ubuntu-latest + needs: [ build_wheels ] steps: - uses: actions/download-artifact@v2 with: From ac486f4f23c933976b88d3346a4c0fce3ca3025b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9rome=20Eertmans?= Date: Thu, 8 Sep 2022 00:03:47 +0200 Subject: [PATCH 3/3] trying to fix builds --- .github/workflows/python-publish.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index afb7d3d6..a26e0911 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -13,7 +13,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [ubuntu-latest, windows-latest, macos-latest] + os: [ubuntu-latest] steps: - uses: actions/checkout@v2 @@ -21,7 +21,10 @@ jobs: # Used to host cibuildwheel - uses: actions/setup-python@v2 - - name: Install package + - name: Install deps + run: sudo apt-get install libsdl-pango-dev + + - name: Install packages run: python -m pip install -U manim tqdm - name: Install cibuildwheel