Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
on:
push:
branches:
- master
- main
- release/*
pull_request:

Expand All @@ -22,7 +22,7 @@ jobs:
toolchain: stable
cache: false
- name: Dependencies
run: sudo apt update -y && sudo apt install libssl-dev libclang-dev libadwaita-1-dev libgpgme11-dev libgpg-error-dev libgtk-4-dev libxcb-shape0-dev libxcb-xfixes0-dev nettle-dev capnproto -y
run: sudo apt update -y && sudo apt install libssl-dev libclang-dev libadwaita-1-dev libgpgme11-dev libgpg-error-dev libgtk-4-dev libxcb-shape0-dev libxcb-xfixes0-dev capnproto -y
- run: cargo test --all

macos-test:
Expand All @@ -41,7 +41,7 @@ jobs:
- name: Install dependencies
run: |
brew update || true
brew install gpgme nettle capnp libadwaita || true
brew install gpgme capnp libadwaita || true
- run: cargo test --all

fmt:
Expand All @@ -58,7 +58,7 @@ jobs:
toolchain: stable
cache: false
- name: Dependencies
run: sudo apt update -y && sudo apt install libssl-dev libclang-dev libadwaita-1-dev libgpgme11-dev libgpg-error-dev libgtk-4-dev libxcb-shape0-dev libxcb-xfixes0-dev nettle-dev capnproto -y
run: sudo apt update -y && sudo apt install libssl-dev libclang-dev libadwaita-1-dev libgpgme11-dev libgpg-error-dev libgtk-4-dev libxcb-shape0-dev libxcb-xfixes0-dev capnproto -y
- run: cargo fmt --check

clippy:
Expand All @@ -76,7 +76,7 @@ jobs:
cache: false
- run: rustup component add clippy
- name: Dependencies
run: sudo apt update -y && sudo apt install libssl-dev libclang-dev libadwaita-1-dev libgpgme11-dev libgpg-error-dev libgtk-4-dev libxcb-shape0-dev libxcb-xfixes0-dev nettle-dev capnproto -y
run: sudo apt update -y && sudo apt install libssl-dev libclang-dev libadwaita-1-dev libgpgme11-dev libgpg-error-dev libgtk-4-dev libxcb-shape0-dev libxcb-xfixes0-dev capnproto -y
- run: cargo clippy --tests

audit:
Expand Down
7 changes: 3 additions & 4 deletions BUILD_INSTRUCTIONS.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,11 @@

Ripasso depends on a number of local libraries through it's dependencies:

* openssl - for git operations
* openssl - for git operations and sequoia crypto backend
* libgit2 - for git operations
* libgpgerror - for the gpgme encryption backend
* gpgme - for the gpgme encryption backend
* xorg - for the clippboard
* nettle-dev - for the sequoia encryption backend

They are named different things on different platforms

Expand All @@ -25,14 +24,14 @@ $ cargo run

### Ubuntu
```
$ apt install cargo libssl-dev libclang-dev libadwaita-1-dev libgpgme11-dev libgpg-error-dev libgtk-4-dev libxcb-shape0-dev libxcb-xfixes0-dev nettle-dev
$ apt install cargo libssl-dev libclang-dev libadwaita-1-dev libgpgme11-dev libgpg-error-dev libgtk-4-dev libxcb-shape0-dev libxcb-xfixes0-dev
$ cargo build --all
```

### Fedora
#### All
```
$ dnf install cargo gpgme-devel openssl-devel libxcb libxcb-devel nettle-devel
$ dnf install cargo gpgme-devel openssl-devel libxcb libxcb-devel
```
#### GTK
```
Expand Down
Loading
Loading