Voice activation (core voice detector, set_transmit handshake), transmission mode in Settings → Audio, atomic prefs commit, ARM64 unit tests under qemu; version 0.1.3
This commit is contained in:
1 parent
8439fe062e
commit
b7951e0693
46 files changed
+1905
-191
No files matched your search
@@ -112,3 +112,11 @@ jobs:
|
||||
|
||||
- name: Core identity smoke under qemu-aarch64 (emulated, not native hardware)
|
||||
run: node scripts/core-smoke.mjs core/target/aarch64-unknown-linux-gnu/release/teamspeach-core --wrapper "qemu-aarch64 -L /usr/aarch64-linux-gnu"
|
||||
|
||||
# The unit tests (voice detector, resampler, identity keys, codecs, protocol) built for aarch64 and run
|
||||
# under user-mode qemu. Emulated, not native hardware; the bridge smoke tests spawn the core binary and
|
||||
# are left to the host build above.
|
||||
- name: Core unit tests under qemu-aarch64 (emulated, not native hardware)
|
||||
env:
|
||||
CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_RUNNER: qemu-aarch64 -L /usr/aarch64-linux-gnu
|
||||
run: cargo test --manifest-path core/Cargo.toml --locked --target aarch64-unknown-linux-gnu --bin teamspeach-core
|
||||
@@ -13,6 +13,10 @@ on:
|
||||
to_tag:
|
||||
description: Newer release tag the old one must update to (e.g. v0.1.2-rc.2)
|
||||
required: true
|
||||
new_prefs:
|
||||
description: Optional JSON of settings that exist only in the new version, applied after the update and checked after a restart
|
||||
required: false
|
||||
default: ''
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
@@ -55,10 +59,16 @@ jobs:
|
||||
env:
|
||||
FROM_TAG: ${{ inputs.from_tag }}
|
||||
TO_TAG: ${{ inputs.to_tag }}
|
||||
NEW_PREFS: ${{ inputs.new_prefs }}
|
||||
run: |
|
||||
set -euo pipefail
|
||||
[[ "$TO_TAG" =~ ^v[0-9]+\.[0-9]+\.[0-9]+(-[0-9A-Za-z.-]+)?$ ]] || { echo "bad tag $TO_TAG"; exit 2; }
|
||||
xvfb-run -a node scripts/update-e2e.mjs --from "old/TeamsPeach-${FROM_TAG#v}.AppImage" --to-tag "$TO_TAG" --out update-e2e-out
|
||||
if [ -n "$NEW_PREFS" ]; then
|
||||
node -e 'const p = JSON.parse(process.argv[1]); if (!p || typeof p !== "object" || Array.isArray(p)) process.exit(2)' "$NEW_PREFS"
|
||||
xvfb-run -a node scripts/update-e2e.mjs --from "old/TeamsPeach-${FROM_TAG#v}.AppImage" --to-tag "$TO_TAG" --out update-e2e-out --new-prefs "$NEW_PREFS"
|
||||
else
|
||||
xvfb-run -a node scripts/update-e2e.mjs --from "old/TeamsPeach-${FROM_TAG#v}.AppImage" --to-tag "$TO_TAG" --out update-e2e-out
|
||||
fi
|
||||
cat update-e2e-out/result.json
|
||||
|
||||
- uses: actions/upload-artifact@v3
|
||||
|
||||
Reference in new issue
Block a user