mirror of
https://github.com/Yonokid/PyTaiko.git
synced 2026-02-04 19:50:12 +01:00
the exe was never uploaded
This commit is contained in:
32
.github/workflows/main.yml
vendored
32
.github/workflows/main.yml
vendored
@@ -1,4 +1,4 @@
|
|||||||
name: PyTaiko2
|
name: PyTaiko
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: ["main"]
|
branches: ["main"]
|
||||||
@@ -10,7 +10,7 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [macos-14, ubuntu-22.04, windows-2022]
|
os: [macos-latest, ubuntu-latest, windows-latest]
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- name: Check-out repository
|
- name: Check-out repository
|
||||||
@@ -18,37 +18,15 @@ jobs:
|
|||||||
- name: Install uv
|
- name: Install uv
|
||||||
uses: astral-sh/setup-uv@v4
|
uses: astral-sh/setup-uv@v4
|
||||||
with:
|
with:
|
||||||
enable-cache: false
|
enable-cache: true
|
||||||
- name: Setup Python
|
- name: Setup Python
|
||||||
run: uv python install 3.12
|
run: uv python install 3.12
|
||||||
- name: Clear UV cache
|
|
||||||
run: |
|
|
||||||
uv cache clean
|
|
||||||
- name: Install Dependencies
|
- name: Install Dependencies
|
||||||
run: |
|
run: |
|
||||||
uv sync --locked
|
uv sync
|
||||||
- name: Install Nuitka
|
|
||||||
run: |
|
|
||||||
uv add nuitka
|
|
||||||
- name: Clear Build Cache
|
|
||||||
run: |
|
|
||||||
rm -rf ~/.nuitka
|
|
||||||
rm -rf PyTaiko.dist
|
|
||||||
rm -rf PyTaiko.build
|
|
||||||
shell: bash
|
|
||||||
continue-on-error: true
|
|
||||||
- name: Build Executable
|
- name: Build Executable
|
||||||
run: |
|
run: |
|
||||||
uv run nuitka \
|
uv run nuitka --mode=app --include-module=raylib-sdl,moviepy,numpy,sounddevice,tomlkit --noinclude-setuptools-mode=nofollow --noinclude-IPython-mode=nofollow PyTaiko.py
|
||||||
--onefile \
|
|
||||||
--remove-output \
|
|
||||||
--output-dir=. \
|
|
||||||
--no-cached-results \
|
|
||||||
--temp-dir=./nuitka-temp-${{ github.run_number }} \
|
|
||||||
--include-module=raylib,moviepy,numpy,sounddevice,soundfile,tomlkit \
|
|
||||||
--noinclude-setuptools-mode=nofollow \
|
|
||||||
--noinclude-IPython-mode=nofollow \
|
|
||||||
PyTaiko.py
|
|
||||||
- name: Upload Artifacts
|
- name: Upload Artifacts
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user