File tree Expand file tree Collapse file tree 3 files changed +13
-11
lines changed
Expand file tree Collapse file tree 3 files changed +13
-11
lines changed Original file line number Diff line number Diff line change 7777 save-if : ${{ github.ref == 'refs/heads/master' }}
7878 # Node is needed for the formatting of typescript files.
7979 - uses : ./.github/actions/init-env-node
80- - run : |
81- sudo apt install libdbus-1-dev pkg-config
82- ./scripts/generate-ts-definitions-from-rust.sh
80+ - name : Dependencies for 'keyring'
81+ run : sudo ./scripts/ install-minimal-debian-dependencies.sh
82+ - run : ./scripts/generate-ts-definitions-from-rust.sh
8383
8484 lint-node :
8585 if : ${{ needs.changes.outputs.node == 'true' || needs.changes.outputs.rust == 'true' }}
@@ -179,16 +179,13 @@ jobs:
179179 shared-key : cargo-test-no-tauri
180180 save-if : ${{ github.ref == 'refs/heads/master' }}
181181 - name : Dependencies for 'keyring'
182- run : |
183- sudo apt update
184- sudo apt install -y libdbus-1-dev pkg-config
185- - run : |
186- cargo test --workspace --exclude gitbutler-tauri --exclude but-server
182+ run : sudo ./scripts/install-minimal-debian-dependencies.sh
183+ - run : cargo test --workspace --exclude gitbutler-tauri --exclude but-server
187184 env :
188185 GITBUTLER_TESTS_NO_CLEANUP : ' 1'
189- name: cargo test
190186 # It's intentional to use 'name equals run-script' so it's easy to re-run locally on failure.
191187 - run : cargo test -p but --no-default-features
188+ - run : cargo test -p but-server
192189
193190 rust-test-tauri :
194191 needs : changes
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ set -eu -o pipefail
4+
5+ # Install the dependencies needed to build the but-server and the CLI.
6+ apt update
7+ apt install -y libdbus-1-dev pkg-config
Original file line number Diff line number Diff line change 33set -eu -o pipefail
44
55# Install the dependencies needed to build tauri, mainly.
6-
7- set -x
86apt update
97apt install libwebkit2gtk-4.1-dev \
108 build-essential \
You can’t perform that action at this time.
0 commit comments