ci: isolate Ubuntu sources and select Git Bash for Windows tests
Launcher checks / check (push) Waiting to run

This commit is contained in:
Emil
2026-09-09 20:41:07 +03:00
parent daefc3f5e7
commit cacd1cd2bd
6 changed files with 95 additions and 15 deletions
+9 -3
View File
@@ -27,11 +27,17 @@ jobs:
- uses: dtolnay/rust-toolchain@stable
- name: Install Linux desktop dependencies
run: |
sudo apt-get update
sudo apt-get install -y libwebkit2gtk-4.1-dev libayatana-appindicator3-dev librsvg2-dev patchelf
# Ubuntu 22.04 keeps distro sources here; unrelated vendor repos are not needed.
test -s /etc/apt/sources.list
apt_options=(
-o Dir::Etc::sourcelist=/etc/apt/sources.list
-o Dir::Etc::sourceparts=-
)
sudo apt-get "${apt_options[@]}" --error-on=any update
sudo apt-get "${apt_options[@]}" install -y libwebkit2gtk-4.1-dev libayatana-appindicator3-dev librsvg2-dev patchelf
- run: npm ci
- run: npm test
- run: npm run build
- run: cargo test --locked --manifest-path src-tauri/Cargo.toml
- run: cargo build --locked --release --manifest-path scripts/release-verifier/Cargo.toml
- run: python -m unittest discover -s scripts -p 'release_test.py' -v
- run: cargo test --locked --manifest-path src-tauri/Cargo.toml