Skip to content

Commit fd6f947

Browse files
Merge pull request #16 from comit-network/release-fixes
2 parents a0c5678 + e470625 commit fd6f947

File tree

6 files changed

+70
-18
lines changed

6 files changed

+70
-18
lines changed

.github/dependabot.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# To get started with Dependabot version updates, you'll need to specify which
2+
# package ecosystems to update and where the package manifests are located.
3+
# Please see the documentation for all configuration options:
4+
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
5+
6+
version: 2
7+
updates:
8+
- package-ecosystem: "cargo"
9+
directory: "/"
10+
schedule:
11+
interval: "daily"
12+
rebase-strategy: "disabled"
13+
14+
- package-ecosystem: "github-actions"
15+
directory: "/"
16+
schedule:
17+
interval: "daily"
18+
rebase-strategy: "disabled"

.github/workflows/build-release-binaries.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,24 @@ jobs:
2424
ref: ${{ github.event.release.target_commitish }}
2525
token: ${{ secrets.BOTTY_GITHUB_TOKEN }}
2626

27+
- name: Install toolchain from rust-toolchain file
28+
run: rustup show
29+
2730
- uses: Swatinem/[email protected]
31+
with:
32+
key: ${{ matrix.target }}
2833

29-
- name: Build ${{ matrix.target }} rendezvous-server release binary
34+
- name: Install compiler for armhf arch
35+
if: matrix.target == 'armv7-unknown-linux-gnueabihf'
36+
run: |
37+
sudo apt-get update
38+
sudo apt-get install gcc-arm-linux-gnueabihf
3039
40+
- name: Build ${{ matrix.target }} rendezvous-server release binary
3141
run: cargo build --target=${{ matrix.target }} --release --package rendezvous-server --bin rendezvous-server
3242

3343
- name: Smoke test the binary
44+
if: matrix.target != 'armv7-unknown-linux-gnueabihf'
3445
run: target/${{ matrix.target }}/release/rendezvous-server --help
3546

3647
# Remove once python 3 is the default

.github/workflows/ci.yml

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,12 @@ jobs:
1313
- name: Checkout sources
1414
uses: actions/[email protected]
1515

16+
- name: Install toolchain from rust-toolchain file
17+
run: rustup show
18+
1619
- uses: Swatinem/[email protected]
20+
with:
21+
key: ${{ matrix.target }}
1722

1823
- name: Check formatting
1924
uses: dprint/[email protected]
@@ -38,18 +43,24 @@ jobs:
3843
- name: Checkout sources
3944
uses: actions/[email protected]
4045

46+
- name: Install toolchain from rust-toolchain file
47+
run: rustup show
48+
49+
- uses: Swatinem/[email protected]
50+
with:
51+
key: ${{ matrix.target }}
52+
4153
- name: Install compiler for armhf arch
4254
if: matrix.target == 'armv7-unknown-linux-gnueabihf'
4355
run: |
4456
sudo apt-get update
4557
sudo apt-get install gcc-arm-linux-gnueabihf
4658
4759
- name: Build binary
48-
run: |
49-
cargo build -p rendezvous-server --target ${{ matrix.target }}
60+
run: cargo build -p rendezvous-server --target ${{ matrix.target }}
5061

5162
- name: Upload rendezvous-server binary
5263
uses: actions/upload-artifact@v2-preview
5364
with:
5465
name: rendezvous-server-${{ matrix.target }}
55-
path: target/${{ matrix.target }}/debug/rendezvous-server
66+
path: target/${{ matrix.target }}/debug/rendezvous-server

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7+
8+
## [Unreleased]
9+
10+
Initial release.
11+
12+
[Unreleased]: https://github.com/comit-network/rendezvous-server/compare/fba56c1...HEAD

Cargo.lock

Lines changed: 12 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ edition = "2018"
88
anyhow = "1"
99
atty = "0.2"
1010
futures = { version = "0.3", default-features = false }
11-
libp2p = { git = "https://github.com/comit-network/rust-libp2p.git", rev = "4cacaf215b334d447faca8f4e361fe19c30d2162", default-features = false, features = [ "rendezvous", "tcp-tokio", "yamux", "mplex", "dns-tokio", "noise", "ping" ] }
11+
libp2p = { git = "https://github.com/comit-network/rust-libp2p.git", branch = "rendezvous", default-features = false, features = [ "rendezvous", "tcp-tokio", "yamux", "mplex", "dns-tokio", "noise", "ping" ] }
1212
structopt = { version = "0.3", default-features = false }
13-
tokio = { version = "1.8", features = [ "rt-multi-thread", "time", "macros", "sync", "process", "fs", "net", "io-util" ] }
13+
tokio = { version = "1", features = [ "rt-multi-thread", "time", "macros", "sync", "process", "fs", "net", "io-util" ] }
1414
tracing = { version = "0.1", features = [ "attributes" ] }
1515
tracing-subscriber = { version = "0.2", default-features = false, features = [ "fmt", "ansi", "env-filter", "chrono", "tracing-log", "json" ] }

0 commit comments

Comments
 (0)