binaries #2
9
.build.sh
Executable file
9
.build.sh
Executable file
@ -0,0 +1,9 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
set -e
|
||||||
|
set -x
|
||||||
|
|
||||||
|
# build for all architectures
|
||||||
|
cargo build --release
|
||||||
|
|
||||||
|
# tar binary files for upload
|
||||||
|
tar -czvf target/release/linux_amd64.tar.gz -C target/release farm node plot wallet
|
@ -33,7 +33,7 @@ steps:
|
|||||||
- name: cache
|
- name: cache
|
||||||
path: /vendor
|
path: /vendor
|
||||||
commands:
|
commands:
|
||||||
- cargo build --release
|
- sh .build.sh
|
||||||
|
|
||||||
- name: release
|
- name: release
|
||||||
image: plugins/gitea-release
|
image: plugins/gitea-release
|
||||||
@ -42,7 +42,7 @@ steps:
|
|||||||
from_secret: gitea_token
|
from_secret: gitea_token
|
||||||
base_url: https://gitea.hillion.co.uk
|
base_url: https://gitea.hillion.co.uk
|
||||||
files:
|
files:
|
||||||
- target/release/plot
|
- target/release/linux_amd64.tar.gz
|
||||||
checksum:
|
checksum:
|
||||||
- sha256
|
- sha256
|
||||||
when:
|
when:
|
||||||
@ -54,6 +54,6 @@ volumes:
|
|||||||
temp: {}
|
temp: {}
|
||||||
---
|
---
|
||||||
kind: signature
|
kind: signature
|
||||||
hmac: d7c37edb0847754a42bb7ce0a5d1107690cd061201ac6e6154eef9845bbe0e80
|
hmac: 91ad5c3d608ca8d5d0eb9ed54277099436549ab20636a323e40b8ba81b5bc14a
|
||||||
|
|
||||||
...
|
...
|
||||||
|
12
Cargo.lock
generated
12
Cargo.lock
generated
@ -1,5 +1,17 @@
|
|||||||
# This file is automatically @generated by Cargo.
|
# This file is automatically @generated by Cargo.
|
||||||
# It is not intended for manual editing.
|
# It is not intended for manual editing.
|
||||||
|
[[package]]
|
||||||
|
name = "farm"
|
||||||
|
version = "0.1.0"
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "node"
|
||||||
|
version = "0.1.0"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "plot"
|
name = "plot"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "wallet"
|
||||||
|
version = "0.1.0"
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
[workspace]
|
[workspace]
|
||||||
|
|
||||||
members = [
|
members = [
|
||||||
|
"farm",
|
||||||
|
"node",
|
||||||
"plot",
|
"plot",
|
||||||
]
|
"wallet",
|
||||||
|
]
|
||||||
|
9
farm/Cargo.toml
Normal file
9
farm/Cargo.toml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
[package]
|
||||||
|
name = "farm"
|
||||||
|
version = "0.1.0"
|
||||||
|
authors = ["Jake Hillion <jake@hillion.co.uk>"]
|
||||||
|
edition = "2018"
|
||||||
|
|
||||||
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
||||||
|
[dependencies]
|
3
farm/src/main.rs
Normal file
3
farm/src/main.rs
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
fn main() {
|
||||||
|
println!("Hello, world!");
|
||||||
|
}
|
9
node/Cargo.toml
Normal file
9
node/Cargo.toml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
[package]
|
||||||
|
name = "node"
|
||||||
|
version = "0.1.0"
|
||||||
|
authors = ["Jake Hillion <jake@hillion.co.uk>"]
|
||||||
|
edition = "2018"
|
||||||
|
|
||||||
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
||||||
|
[dependencies]
|
3
node/src/main.rs
Normal file
3
node/src/main.rs
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
fn main() {
|
||||||
|
println!("Hello, world!");
|
||||||
|
}
|
9
wallet/Cargo.toml
Normal file
9
wallet/Cargo.toml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
[package]
|
||||||
|
name = "wallet"
|
||||||
|
version = "0.1.0"
|
||||||
|
authors = ["Jake Hillion <jake@hillion.co.uk>"]
|
||||||
|
edition = "2018"
|
||||||
|
|
||||||
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
||||||
|
[dependencies]
|
3
wallet/src/main.rs
Normal file
3
wallet/src/main.rs
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
fn main() {
|
||||||
|
println!("Hello, world!");
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user