Skip to content

ajoute chemin correct de .env #16

ajoute chemin correct de .env

ajoute chemin correct de .env #16

Workflow file for this run

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/*