Update deps #109
Workflow file for this run
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
name: Binary builder | |
on: | |
push: | |
tags: | |
- '*' | |
jobs: | |
windows: | |
name: Windows | |
runs-on: windows-2019 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.11' | |
- name: Install dependencies | |
env: | |
PYINSTALLER_COMPILE_BOOTLOADER: 1 | |
run: | | |
python -m pip install --upgrade pip setuptools wheel | |
pip install -r requirements.txt | |
pip install certifi pyinstaller --no-binary pyinstaller | |
- name: Build binary | |
run: pyinstaller CurseBreaker.spec | |
- name: Upload binary | |
uses: actions/upload-artifact@v3 | |
with: | |
name: Windows | |
path: dist/CurseBreaker.exe | |
linux: | |
name: Linux | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.11' | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip setuptools wheel | |
pip install -r requirements.txt | |
pip install certifi pyinstaller | |
- name: Build binary | |
run: pyinstaller CurseBreaker.spec | |
- name: Upload binary | |
uses: actions/upload-artifact@v3 | |
with: | |
name: Linux | |
path: dist/CurseBreaker | |
macos: | |
name: macOS | |
runs-on: macos-11 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.11' | |
- name: Install dependencies | |
run: | | |
python3 -m pip install --upgrade pip setuptools wheel | |
pip3 install -r requirements.txt | |
pip3 install certifi pyinstaller | |
- name: Build binary | |
run: pyinstaller CurseBreaker.spec | |
- name: Upload binary | |
uses: actions/upload-artifact@v3 | |
with: | |
name: macOS | |
path: dist/CurseBreaker |