Files
cmd-alexandra-toxicity/.gitea/workflows/build.yml
Simon 59a5d4a91d
Some checks failed
BinGen / Validate (push) Failing after 1m17s
ci: passe de windows a ubuntu
2025-07-09 02:36:48 +02:00

39 lines
870 B
YAML

name: BinGen
run-name: Generate a exe file from the python script
on:
push:
branches:
- main
jobs:
Validate:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Setup Python 3.11
uses: actions/setup-python@v4
with:
python-version: 3.11
- name: install dependencies
run: |
python -m pip install --upgrade pip
pip install pyinstaller colorama
- name: Builde executale with pyinstaller
run: |
pyinstaller --onefile jeu.py
- name: Archive executable
run: |
Compress-Archive -Path dist\jeu.exe -DestinationPath jeu_windows.zip
- name: Upload Artifact
uses: actions/upload-artifact@v3
with:
name: escape-game-windows-exe
path: jeu_windows.zip