From fb5fe229878c01a614e4db40a08175cee50e0ace Mon Sep 17 00:00:00 2001 From: Ansh Dadwal Date: Thu, 21 Mar 2024 19:47:30 +0530 Subject: [PATCH] workflow: add apple arm64 --- .github/workflows/default.yml | 7 +++++-- .github/workflows/linux.yml | 4 ++-- README.md | 16 ++++++++-------- 3 files changed, 15 insertions(+), 12 deletions(-) diff --git a/.github/workflows/default.yml b/.github/workflows/default.yml index 2ac18a6..cfb26a6 100644 --- a/.github/workflows/default.yml +++ b/.github/workflows/default.yml @@ -9,12 +9,15 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [windows-latest, macos-latest, macos-latest] + os: [windows-latest, macos-latest, macos-14] python-version: ['3.9', '3.10', '3.11', '3.12'] dist: [bdist_wheel] + exclude: + - os: macos-14 + python-version: '3.9' steps: - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v3 + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} - name: Checkout code diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index b37d6e3..d250941 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -27,7 +27,7 @@ jobs: /opt/python/cp39-cp39/bin/python setup.py bdist_wheel /opt/python/cp310-cp310/bin/python setup.py bdist_wheel /opt/python/cp311-cp311/bin/python setup.py bdist_wheel - /opt/python/cp312-cp312/bin/python setup.py bdist_wheel sdist + /opt/python/cp312-cp312/bin/python setup.py bdist_wheel - name: Run tests run: | /opt/python/cp39-cp39/bin/pip install --find-links=dist materialyoucolor @@ -42,7 +42,7 @@ jobs: /opt/python/cp39-cp39/bin/pip install auditwheel mkdir wheelhouse - mv dist/*.tar.gz wheelhouse/ + rm -rf dist/*.tar.gz auditwheel repair dist/* echo "Built dists:" ls wheelhouse diff --git a/README.md b/README.md index 51543f5..77d7010 100644 --- a/README.md +++ b/README.md @@ -41,14 +41,6 @@ pip3 install materialyoucolor --upgrade Prebuilt binaries are avaliable for `linux`, `windows` and `macos`. If prebuilt binaries aren't available, then you should manually build and install. -### Arch Linux - -```console -yay -S python-materialyoucolor -``` - -Thanks :heart: to [@midn8hustlr](https://github.com/midn8hustlr) for this [AUR package](https://aur.archlinux.org/cgit/aur.git/?h=python-materialyoucolor-git). - ### Build and install ```console @@ -57,6 +49,14 @@ pip3 install https://github.com/T-Dynamos/materialyoucolor-python/archive/master ``` +#### Arch Linux + +```console +yay -S python-materialyoucolor +``` + +Thanks :heart: to [@midn8hustlr](https://github.com/midn8hustlr) for this [AUR package](https://aur.archlinux.org/cgit/aur.git/?h=python-materialyoucolor-git). + #### Android (using kivy's [`buildozer`](https://github.com/kivy/buildozer)) Ensure these lines in `buildozer.spec`: