mirror of
https://git.quad4.io/RNS-Things/MeshChatX.git
synced 2026-09-01 20:18:32 +00:00
Update workflows with new task commands
This commit is contained in:
@@ -76,7 +76,7 @@ jobs:
|
||||
run: task install
|
||||
|
||||
- name: Build Frontend and Prepare Android
|
||||
run: task android-prepare
|
||||
run: task android:prepare
|
||||
|
||||
- name: Build Android APK
|
||||
run: |
|
||||
|
||||
@@ -54,29 +54,29 @@ jobs:
|
||||
run: task install
|
||||
|
||||
- name: Build Frontend
|
||||
run: task build-frontend
|
||||
run: task build:fe
|
||||
|
||||
- name: Build Backend (Wheel)
|
||||
run: task wheel
|
||||
run: task build:wheel
|
||||
|
||||
- name: Build Electron App (Linux)
|
||||
run: pnpm run dist:linux
|
||||
run: pnpm run dist:linux-x64
|
||||
|
||||
- name: Build Electron App (RPM - Experimental)
|
||||
continue-on-error: true
|
||||
run: task build-rpm
|
||||
run: task dist:fe:rpm
|
||||
|
||||
- name: Build Electron App (Flatpak - Experimental)
|
||||
continue-on-error: true
|
||||
run: task build-flatpak
|
||||
run: task dist:fe:flatpak
|
||||
|
||||
- name: Build Electron App (Windows EXE and NSIS)
|
||||
env:
|
||||
WINEDEBUG: -all
|
||||
run: pnpm run dist:windows
|
||||
run: pnpm run dist:win-x64
|
||||
|
||||
- name: Build Electron App (ZIP)
|
||||
run: task build-zip
|
||||
run: task dist:fe:zip
|
||||
|
||||
- name: Prepare release assets
|
||||
run: |
|
||||
|
||||
@@ -92,21 +92,21 @@ jobs:
|
||||
run: task install
|
||||
|
||||
- name: Build Frontend
|
||||
run: task build-frontend
|
||||
run: task build:fe
|
||||
|
||||
- name: Build Python wheel
|
||||
run: task wheel
|
||||
run: task build:wheel
|
||||
|
||||
- name: Build Electron App (Appimage)
|
||||
run: pnpm run dist:linux
|
||||
run: pnpm run dist:linux-x64
|
||||
|
||||
- name: Build Electron App (RPM)
|
||||
continue-on-error: true
|
||||
run: task build-rpm
|
||||
run: task dist:fe:rpm
|
||||
|
||||
- name: Build Electron App (Flatpak)
|
||||
continue-on-error: true
|
||||
run: task build-flatpak
|
||||
run: task dist:fe:flatpak
|
||||
|
||||
- name: Setup Wine Environment
|
||||
env:
|
||||
@@ -135,7 +135,7 @@ jobs:
|
||||
env:
|
||||
WINEDEBUG: -all
|
||||
WINE_PYTHON: "wine C:/Python313/python.exe"
|
||||
run: task build-exe-wine
|
||||
run: task dist:win:wine
|
||||
|
||||
- name: Prepare release assets
|
||||
run: |
|
||||
|
||||
@@ -29,13 +29,13 @@ jobs:
|
||||
- name: Setup Poetry
|
||||
run: pip install poetry
|
||||
- name: Setup Python environment
|
||||
run: task setup-python-env
|
||||
run: task setup:be
|
||||
- name: Install Node dependencies
|
||||
run: task node_modules
|
||||
run: task deps:fe
|
||||
- name: Lint
|
||||
run: |
|
||||
set -o pipefail
|
||||
task lint 2>&1 | tee lint_results.txt
|
||||
set -o pipefail
|
||||
task lint:all 2>&1 | tee lint_results.txt
|
||||
|
||||
build-frontend:
|
||||
runs-on: ubuntu-latest
|
||||
@@ -52,7 +52,7 @@ jobs:
|
||||
with:
|
||||
version: "3.46.3"
|
||||
- name: Install dependencies
|
||||
run: task node_modules
|
||||
run: task deps:fe
|
||||
- name: Determine version
|
||||
id: version
|
||||
run: |
|
||||
@@ -61,7 +61,7 @@ jobs:
|
||||
- name: Build frontend
|
||||
run: |
|
||||
set -o pipefail
|
||||
task build-frontend 2>&1 | tee build_results.txt
|
||||
task build:fe 2>&1 | tee build_results.txt
|
||||
env:
|
||||
VITE_APP_VERSION: ${{ steps.version.outputs.version }}
|
||||
|
||||
@@ -108,4 +108,4 @@ jobs:
|
||||
- name: Run language tests
|
||||
run: |
|
||||
set -o pipefail
|
||||
task test-lang 2>&1 | tee lang_results.txt
|
||||
task test:lang 2>&1 | tee lang_results.txt
|
||||
|
||||
@@ -39,4 +39,4 @@ jobs:
|
||||
- name: Run tests
|
||||
run: |
|
||||
set -o pipefail
|
||||
task test 2>&1 | tee test_results.txt
|
||||
task test:all 2>&1 | tee test_results.txt
|
||||
|
||||
Reference in New Issue
Block a user