Added Scylla mecha #684
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow will install Python dependencies, run tests and lint with a single version of Python | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions | |
name: Mac Build | |
on: | |
push: | |
branches: [ master, testing ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python 3.8.16 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.8.16' | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install --upgrade 'setuptools<45.0.0' | |
pip install pygame | |
pip install numpy | |
pip install cython | |
pip install cx-freeze | |
pip install yapf | |
- name: build caramel-recolor-cython | |
run: | | |
cd caramel-recolor-cython | |
python setup.py install | |
cd .. | |
- name: build with cx-freeze | |
run: | | |
cxfreeze -c main.py --target-dir dist/ghcaramel --include-files=data,design,image,music,credits.md,history.md,LICENSE,README.md -O -s --target-name=ghcaramel --packages=pygame,numpy,pbgerecolor | |
- name: Upload the file | |
uses: actions/upload-artifact@v1 | |
with: | |
name: ghcmac | |
path: dist/ |