add support of wave file #18
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 and Release | |
on: | |
push: | |
branches: | |
- main # ou la branche de votre choix | |
jobs: | |
build: | |
name: Build on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.11 # Utilisation de Python 3.11 | |
- name: Install Dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r requirements.txt # Utilisez le fichier requirements.txt unifié | |
- name: Additional Setup for Ubuntu | |
if: startsWith(matrix.os, 'ubuntu') | |
run: | | |
sudo apt-get update | |
sudo apt-get install python3-pyqt5.qtsvg python3-opengl libgirepository1.0-dev # Installer le paquet requis pour Ubuntu | |
pip install -r requirements-Linux.txt | |
- name: Install PyInstaller | |
run: pip install pyinstaller # Installation de PyInstaller | |
- name: Build with PyInstaller | |
run: pyinstaller main.spec | |
- name: Upload Artifacts | |
uses: actions/upload-artifact@v2 | |
with: | |
name: ${{ matrix.os }}-binary | |
path: dist/* |