Implement Rust and Slint native client migration and fix desktop startup
This commit is contained in:
1 parent
0d11f8f99d
commit
eb24965076
1303 files changed
+732670
-2375
No files matched your search
@@ -33,7 +33,7 @@ jobs:
|
||||
|
||||
- name: Rust toolchain
|
||||
run: |
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain stable --target wasm32-unknown-unknown
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.96.0 --target wasm32-unknown-unknown
|
||||
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
|
||||
|
||||
- name: glibc baseline
|
||||
@@ -57,10 +57,10 @@ jobs:
|
||||
run: cargo build --manifest-path core/Cargo.toml --release --locked
|
||||
|
||||
- name: Core binary architecture
|
||||
run: node scripts/binary-arch.mjs core/target/release/teamspeach-core --expect linux-x64
|
||||
run: node scripts/binary-arch.mjs "${CARGO_TARGET_DIR:-target}/release/teamspeach-core" --expect linux-x64
|
||||
|
||||
- name: Core identity smoke (stdio, offline)
|
||||
run: node scripts/core-smoke.mjs core/target/release/teamspeach-core
|
||||
run: node scripts/core-smoke.mjs "${CARGO_TARGET_DIR:-target}/release/teamspeach-core"
|
||||
|
||||
- name: Electron UI smoke (Xvfb, offline, disposable profile)
|
||||
env:
|
||||
@@ -100,23 +100,23 @@ jobs:
|
||||
|
||||
- name: Rust toolchain
|
||||
run: |
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain stable --target aarch64-unknown-linux-gnu
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.96.0 --target aarch64-unknown-linux-gnu
|
||||
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
|
||||
|
||||
- name: Core cross build (aarch64-unknown-linux-gnu)
|
||||
run: cargo build --manifest-path core/Cargo.toml --release --locked --target aarch64-unknown-linux-gnu
|
||||
|
||||
- name: Core binary architecture
|
||||
run: node scripts/binary-arch.mjs core/target/aarch64-unknown-linux-gnu/release/teamspeach-core --expect linux-arm64
|
||||
run: node scripts/binary-arch.mjs "${CARGO_TARGET_DIR:-target}/aarch64-unknown-linux-gnu/release/teamspeach-core" --expect linux-arm64
|
||||
|
||||
- name: Required glibc symbols
|
||||
run: aarch64-linux-gnu-objdump -T core/target/aarch64-unknown-linux-gnu/release/teamspeach-core | grep -o 'GLIBC_[0-9.]*' | sort -Vu | tail -n1
|
||||
run: aarch64-linux-gnu-objdump -T "${CARGO_TARGET_DIR:-target}/aarch64-unknown-linux-gnu/release/teamspeach-core" | grep -o 'GLIBC_[0-9.]*' | sort -Vu | tail -n1
|
||||
|
||||
- name: 16 KiB page compatibility (Asahi) of the core ELF
|
||||
run: node scripts/elf-pagesize.mjs core/target/aarch64-unknown-linux-gnu/release/teamspeach-core --page 16384
|
||||
run: node scripts/elf-pagesize.mjs "${CARGO_TARGET_DIR:-target}/aarch64-unknown-linux-gnu/release/teamspeach-core" --page 16384
|
||||
|
||||
- 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"
|
||||
run: node scripts/core-smoke.mjs "${CARGO_TARGET_DIR:-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
|
||||
|
||||
@@ -41,7 +41,7 @@ jobs:
|
||||
- name: Rust toolchain
|
||||
run: |
|
||||
set -euo pipefail
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain stable --target wasm32-unknown-unknown
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.96.0 --target wasm32-unknown-unknown
|
||||
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
|
||||
|
||||
- name: Tests
|
||||
@@ -57,8 +57,8 @@ jobs:
|
||||
run: |
|
||||
set -euo pipefail
|
||||
cargo build --manifest-path core/Cargo.toml --release --locked
|
||||
node scripts/binary-arch.mjs core/target/release/teamspeach-core --expect linux-x64
|
||||
node scripts/core-smoke.mjs core/target/release/teamspeach-core
|
||||
node scripts/binary-arch.mjs "${CARGO_TARGET_DIR:-target}/release/teamspeach-core" --expect linux-x64
|
||||
node scripts/core-smoke.mjs "${CARGO_TARGET_DIR:-target}/release/teamspeach-core"
|
||||
|
||||
- name: Electron UI smoke (Xvfb, offline)
|
||||
env:
|
||||
@@ -124,16 +124,16 @@ jobs:
|
||||
- name: Rust toolchain
|
||||
run: |
|
||||
set -euo pipefail
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain stable --target aarch64-unknown-linux-gnu --target wasm32-unknown-unknown
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain 1.96.0 --target aarch64-unknown-linux-gnu --target wasm32-unknown-unknown
|
||||
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
|
||||
|
||||
- name: Core cross build and checks
|
||||
run: |
|
||||
set -euo pipefail
|
||||
cargo build --manifest-path core/Cargo.toml --release --locked --target aarch64-unknown-linux-gnu
|
||||
node scripts/binary-arch.mjs core/target/aarch64-unknown-linux-gnu/release/teamspeach-core --expect linux-arm64
|
||||
node scripts/elf-pagesize.mjs core/target/aarch64-unknown-linux-gnu/release/teamspeach-core --page 16384
|
||||
node scripts/core-smoke.mjs core/target/aarch64-unknown-linux-gnu/release/teamspeach-core --wrapper "qemu-aarch64 -L /usr/aarch64-linux-gnu"
|
||||
node scripts/binary-arch.mjs "${CARGO_TARGET_DIR:-target}/aarch64-unknown-linux-gnu/release/teamspeach-core" --expect linux-arm64
|
||||
node scripts/elf-pagesize.mjs "${CARGO_TARGET_DIR:-target}/aarch64-unknown-linux-gnu/release/teamspeach-core" --page 16384
|
||||
node scripts/core-smoke.mjs "${CARGO_TARGET_DIR:-target}/aarch64-unknown-linux-gnu/release/teamspeach-core" --wrapper "qemu-aarch64 -L /usr/aarch64-linux-gnu"
|
||||
|
||||
- name: Package
|
||||
run: |
|
||||
|
||||
Reference in new issue
Block a user