images updated #42
This file contains hidden or 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 AudioTTo Multi-Platform | |
| on: | |
| push: | |
| branches: [ "main", "master" ] | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| name: Build on ${{ matrix.os }} | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - os: ubuntu-latest | |
| artifact_name: AudioTTo_Linux | |
| - os: macos-latest | |
| artifact_name: AudioTTo_MacOS | |
| - os: windows-latest | |
| artifact_name: AudioTTo_Windows | |
| steps: | |
| - name: Checkout Code | |
| uses: actions/checkout@v4 | |
| # ---------- PYTHON ---------- | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.12' | |
| cache: 'pip' | |
| - name: Install Python Dependencies | |
| shell: bash | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install pyinstaller | |
| if [ -f requirements.txt ]; then pip install -r requirements.txt; fi | |
| # ---------- BUILD ---------- | |
| - name: Build with PyInstaller | |
| run: pyinstaller build.spec | |
| # ---------- UPLOAD ---------- | |
| - name: Upload Artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: ${{ matrix.artifact_name }} | |
| path: dist/AudioTTo* |