chore(ci): remove post CI result posting steps and delete related script
This commit is contained in:
@@ -47,9 +47,3 @@ jobs:
|
||||
run: |
|
||||
set -o pipefail
|
||||
task test-integrity 2>&1 | tee -a bench_results.txt
|
||||
|
||||
- name: Post Results to PR
|
||||
if: always() && github.event_name == 'pull_request'
|
||||
env:
|
||||
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
|
||||
run: bash scripts/post_ci_results.sh bench bench_results.txt
|
||||
|
||||
@@ -71,8 +71,9 @@ jobs:
|
||||
|
||||
- name: Install system dependencies
|
||||
run: |
|
||||
sudo dpkg --add-architecture i386
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y patchelf libopusfile0 ffmpeg espeak-ng wine nsis zip rpm flatpak flatpak-builder elfutils
|
||||
sudo apt-get install -y wine32:i386 wine64 patchelf libopusfile0 ffmpeg espeak-ng nsis zip rpm flatpak flatpak-builder elfutils
|
||||
flatpak remote-add --if-not-exists --user flathub https://dl.flathub.org/repo/flathub.flatpakrepo
|
||||
|
||||
- name: Setup Task
|
||||
@@ -101,6 +102,8 @@ jobs:
|
||||
run: task build-flatpak
|
||||
|
||||
- name: Build Electron App (Windows EXE and NSIS)
|
||||
env:
|
||||
WINEDEBUG: -all
|
||||
run: pnpm run dist:windows
|
||||
|
||||
- name: Build Electron App (ZIP)
|
||||
|
||||
@@ -37,12 +37,6 @@ jobs:
|
||||
set -o pipefail
|
||||
task lint 2>&1 | tee lint_results.txt
|
||||
|
||||
- name: Post Results to PR
|
||||
if: always() && github.event_name == 'pull_request'
|
||||
env:
|
||||
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
|
||||
run: bash scripts/post_ci_results.sh "Linting" lint_results.txt
|
||||
|
||||
build-frontend:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
@@ -71,12 +65,6 @@ jobs:
|
||||
env:
|
||||
VITE_APP_VERSION: ${{ steps.version.outputs.version }}
|
||||
|
||||
- name: Post Results to PR
|
||||
if: always() && github.event_name == 'pull_request'
|
||||
env:
|
||||
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
|
||||
run: bash scripts/post_ci_results.sh "Frontend Build" build_results.txt
|
||||
|
||||
test-backend:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
@@ -95,12 +83,6 @@ jobs:
|
||||
set -o pipefail
|
||||
task compile 2>&1 | tee compile_results.txt
|
||||
|
||||
- name: Post Results to PR
|
||||
if: always() && github.event_name == 'pull_request'
|
||||
env:
|
||||
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
|
||||
run: bash scripts/post_ci_results.sh "Backend Compilation" compile_results.txt
|
||||
|
||||
test-lang:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
@@ -127,9 +109,3 @@ jobs:
|
||||
run: |
|
||||
set -o pipefail
|
||||
task test-lang 2>&1 | tee lang_results.txt
|
||||
|
||||
- name: Post Results to PR
|
||||
if: always() && github.event_name == 'pull_request'
|
||||
env:
|
||||
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
|
||||
run: bash scripts/post_ci_results.sh "Language Tests" lang_results.txt
|
||||
|
||||
@@ -40,9 +40,3 @@ jobs:
|
||||
run: |
|
||||
set -o pipefail
|
||||
task test 2>&1 | tee test_results.txt
|
||||
|
||||
- name: Post Results to PR
|
||||
if: always() && github.event_name == 'pull_request'
|
||||
env:
|
||||
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
|
||||
run: bash scripts/post_ci_results.sh "Tests" test_results.txt
|
||||
|
||||
Reference in New Issue
Block a user