Updater from public releases, English UI by default with Russian selectable, cancelable capture, English technical messages, language-independent smoke hooks
This commit is contained in:
1 parent
ba4c7ec2af
commit
1142c9f60d
53 files changed
+4005
-549
No files matched your search
@@ -63,9 +63,15 @@ jobs:
|
||||
TEAMSPEACH_SMOKE_EXTRA_ARGS: --no-sandbox
|
||||
run: xvfb-run -a node scripts/smoke-ui.mjs --out smoke-out
|
||||
|
||||
- name: Updater engine behaviour (Xvfb, real electron-updater, emulated release server)
|
||||
run: xvfb-run -a node --test test/update-engine.test.mjs
|
||||
|
||||
- name: Package
|
||||
run: node scripts/dist.mjs --os linux --arch x64
|
||||
|
||||
- name: Update feed matches the packages (name, size, sha512, version)
|
||||
run: node scripts/update-feed-check.mjs --version "$(node -p "require('./package.json').version")" dist/*-linux.yml
|
||||
|
||||
- name: Package report (ELF layout of every packaged binary incl. the AppImage runtime)
|
||||
run: |
|
||||
set -euo pipefail
|
||||
@@ -75,7 +81,7 @@ jobs:
|
||||
git rev-parse HEAD >> "$report"
|
||||
node scripts/elf-pagesize.mjs dist/linux-unpacked dist/TeamsPeach-*.AppImage --page 4096 --json dist/elf-report-linux-x64.json > elf.txt
|
||||
cat elf.txt >> "$report"
|
||||
sha256sum dist/*.AppImage dist/*.tar.gz >> "$report"
|
||||
sha256sum dist/*.AppImage dist/*.tar.gz dist/*-linux.yml >> "$report"
|
||||
cat "$report"
|
||||
|
||||
- uses: actions/upload-artifact@v3
|
||||
@@ -86,6 +92,7 @@ jobs:
|
||||
dist/*.tar.gz
|
||||
dist/build-info-linux-x64.txt
|
||||
dist/elf-report-linux-x64.json
|
||||
dist/*-linux.yml
|
||||
if-no-files-found: error
|
||||
|
||||
linux-arm64:
|
||||
@@ -131,6 +138,7 @@ jobs:
|
||||
set -euo pipefail
|
||||
npm ci
|
||||
node scripts/dist.mjs --os linux --arch arm64
|
||||
node scripts/update-feed-check.mjs --version "$(node -p "require('./package.json').version")" dist/*-linux-arm64.yml
|
||||
|
||||
- name: 16 KiB page check of every packaged ELF incl. the AppImage runtime (Asahi)
|
||||
run: |
|
||||
@@ -140,7 +148,7 @@ jobs:
|
||||
git rev-parse HEAD >> "$report"
|
||||
node scripts/elf-pagesize.mjs dist/linux-arm64-unpacked dist/TeamsPeach-*-arm64.AppImage --page 16384 --json dist/elf-report-linux-arm64.json > elf.txt
|
||||
cat elf.txt >> "$report"
|
||||
sha256sum dist/*.AppImage dist/*.tar.gz >> "$report"
|
||||
sha256sum dist/*.AppImage dist/*.tar.gz dist/*-linux-arm64.yml >> "$report"
|
||||
cat "$report"
|
||||
|
||||
- uses: actions/upload-artifact@v3
|
||||
@@ -151,6 +159,7 @@ jobs:
|
||||
dist/*.tar.gz
|
||||
dist/build-info-linux-arm64.txt
|
||||
dist/elf-report-linux-arm64.json
|
||||
dist/*-linux-arm64.yml
|
||||
if-no-files-found: error
|
||||
|
||||
# The AppImage runtime must start on a stock system: run it in a slim container without development
|
||||
@@ -208,10 +217,13 @@ jobs:
|
||||
set -euo pipefail
|
||||
node scripts/check-version.mjs
|
||||
cat > notes.md <<'EOF'
|
||||
Linux x64 и Linux ARM64 (aarch64) собраны в CI: тесты, офлайн-проверка ядра, проверка выравнивания ELF
|
||||
(для ARM64 — страницы 16 КиБ, включая загрузчик AppImage), см. build-info-*.txt.
|
||||
ARM64 проверен статически и под qemu, не на Apple Silicon. Пакеты не подписаны.
|
||||
Сборка Windows x64 собирается на машине разработчика из того же коммита и прикладывается отдельно
|
||||
с пометкой local.
|
||||
Linux x64 and Linux ARM64 (aarch64) are built in CI: tests, offline core check, ELF alignment check
|
||||
(16 KiB pages for ARM64, including the AppImage runtime), see build-info-*.txt.
|
||||
ARM64 is checked statically and under qemu, not on Apple Silicon. Packages are not signed.
|
||||
Windows x64 is built on the developer machine from the same commit and attached separately
|
||||
(provenance in *-win-x64-local-build-info.txt).
|
||||
Automatic updates (from the first updater-capable version on): Windows x64 NSIS installation and
|
||||
Linux AppImage install from this release's latest*.yml / <channel>*.yml feeds after user confirmation;
|
||||
zip and tar.gz users are notified and replace files manually.
|
||||
EOF
|
||||
node scripts/publish-release.mjs artifacts notes.md
|
||||
Reference in new issue
Block a user