⚓ Build Pyinstaller #14
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: ⚓ Build Pyinstaller | |
on: | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ${{ matrix.platform }} | |
strategy: | |
fail-fast: true | |
matrix: | |
platform: [ubuntu-latest, windows-latest, macos-latest] | |
# platform: [macos-latest] | |
steps: | |
- uses: actions/checkout@v4 | |
# - name: Install UPX | |
# uses: samyfodil/[email protected] | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.10" | |
- run: | | |
pip install -r requirements.txt | |
pip install pyinstaller | |
- shell: bash | |
run: | | |
which pip | |
which python | |
which pyinstaller | |
make build | |
ls -lh bin | |
cd bin | |
tar -czvf pip-${{ matrix.platform }}.tar.gz pip | |
- name: Upload Binaries | |
uses: actions/upload-artifact@v4 | |
with: | |
name: pip-${{ matrix.platform }} | |
path: | | |
bin/*.tar.gz |