ci: isolate Ubuntu sources and select Git Bash for Windows tests
Launcher checks / check (push) Waiting to run
Launcher checks / check (push) Waiting to run
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user