mirror of
https://github.com/Yonokid/PyTaiko.git
synced 2026-02-04 11:40:13 +01:00
Delete main.yml
This commit is contained in:
41
.github/workflows/python-app.yml
vendored
Normal file
41
.github/workflows/python-app.yml
vendored
Normal file
@@ -0,0 +1,41 @@
|
||||
name: PyTaiko
|
||||
on:
|
||||
push:
|
||||
branches: ["main"]
|
||||
pull_request:
|
||||
branches: ["main"]
|
||||
permissions:
|
||||
contents: read
|
||||
jobs:
|
||||
build:
|
||||
strategy:
|
||||
matrix:
|
||||
os: [macos-latest, ubuntu-latest, windows-latest]
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- name: Check-out repository
|
||||
uses: actions/checkout@v4
|
||||
- name: Install uv
|
||||
uses: astral-sh/setup-uv@v4
|
||||
with:
|
||||
enable-cache: true
|
||||
- name: Setup Python
|
||||
run: uv python install 3.12
|
||||
- name: Install Dependencies
|
||||
run: |
|
||||
uv sync
|
||||
- name: Build Executable
|
||||
run: |
|
||||
uv run nuitka --mode=app --include-module=raylib-sdl,moviepy,numpy,sounddevice,tomlkit --noinclude-setuptools-mode=nofollow --noinclude-IPython-mode=nofollow PyTaiko.py
|
||||
- name: Upload Artifacts
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: PyTaiko ${{ runner.os }} Build
|
||||
path: |
|
||||
Graphics/*
|
||||
Sounds/*
|
||||
Videos/*
|
||||
config.toml
|
||||
*.exe
|
||||
*.bin
|
||||
*.app/**/*
|
||||
Reference in New Issue
Block a user