ci: isolate Ubuntu sources and select Git Bash for Windows tests
Launcher checks / check (push) Canceled after 0s
Launcher checks / check (push) Canceled after 0s
This commit is contained in:
@@ -115,8 +115,14 @@ jobs:
|
||||
- name: Install Linux desktop dependencies
|
||||
if: runner.os == 'Linux'
|
||||
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: cargo test --locked --manifest-path src-tauri/Cargo.toml
|
||||
|
||||
Reference in New Issue
Block a user