Skip to content

Commit

Permalink
build: more workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
chaaz committed Apr 25, 2021
1 parent 62da802 commit 34fce36
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/snippets/get-cargo-minimal.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
key: get-cargo-minimal
value:
- name: Install dependencies
run: sudo apt-get update && sudo apt-get install -y libgpg-error-dev libgpgme-dev
- name: Get cargo stable
uses: actions-rs/toolchain@v1
with:
Expand Down
2 changes: 2 additions & 0 deletions .github/snippets/get-cargo.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
key: get-cargo
value:
- name: Install dependencies
run: sudo apt-get update && sudo apt-get install -y libgpg-error-dev libgpgme-dev
- name: Get cargo stable
uses: actions-rs/toolchain@v1
with:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/github-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install dependencies
run: sudo apt-get update && sudo apt-get install -y libgpg-error-dev libgpgme-dev
- name: Get cargo stable
uses: actions-rs/toolchain@v1
with:
Expand Down Expand Up @@ -131,6 +133,8 @@ jobs:
uses: actions/checkout@v2
with:
ref: main
- name: Install dependencies
run: sudo apt-get update && sudo apt-get install -y libgpg-error-dev libgpgme-dev
- name: Get cargo stable
uses: actions-rs/toolchain@v1
with:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install dependencies
run: sudo apt-get update && sudo apt-get install -y libgpg-error-dev libgpgme-dev
- name: Get cargo stable
uses: actions-rs/toolchain@v1
with:
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install dependencies
run: sudo apt-get update && sudo apt-get install -y libgpg-error-dev libgpgme-dev
- name: Get cargo stable
uses: actions-rs/toolchain@v1
with:
Expand Down Expand Up @@ -87,6 +89,8 @@ jobs:
uses: actions/checkout@v2
- name: Get versio
uses: chaaz/versio-actions/[email protected]
- name: Install dependencies
run: sudo apt-get update && sudo apt-get install -y libgpg-error-dev libgpgme-dev
- name: Get cargo stable
uses: actions-rs/toolchain@v1
with:
Expand Down Expand Up @@ -116,6 +120,8 @@ jobs:
uses: actions/checkout@v2
with:
ref: main
- name: Install dependencies
run: sudo apt-get update && sudo apt-get install -y libgpg-error-dev libgpgme-dev
- name: Get cargo stable
uses: actions-rs/toolchain@v1
with:
Expand Down Expand Up @@ -193,6 +199,8 @@ jobs:
uses: actions/checkout@v2
with:
ref: main
- name: Install dependencies
run: sudo apt-get update && sudo apt-get install -y libgpg-error-dev libgpgme-dev
- name: Get cargo stable
uses: actions-rs/toolchain@v1
with:
Expand Down
8 changes: 8 additions & 0 deletions docs/contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,14 @@ the resulting executable is a reasonable size: without that option, the
binary easily expand to over 100M. If you forget to include this option,
you should manually run `strip` on the resulting executable.

You need to have some gpg libraries installed to build this:

```
sudo apt update
sudo apt install libgpg-error-dev
sudo apt install libgpgme-dev
```

### Windows

[windows]: #windows
Expand Down

0 comments on commit 34fce36

Please sign in to comment.