Skip to content

Commit

Permalink
workflow: add apple arm64
Browse files Browse the repository at this point in the history
  • Loading branch information
T-Dynamos committed Mar 21, 2024
1 parent 77651c5 commit fb5fe22
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 12 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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`:
Expand Down

0 comments on commit fb5fe22

Please sign in to comment.