Compare commits
7 Commits
v0.11.0
...
77ca11c563
| Author | SHA1 | Date | |
|---|---|---|---|
| 77ca11c563 | |||
| 24b7cb3144 | |||
| df3b4c32a9 | |||
| 9c10606ff0 | |||
| b8c492cb62 | |||
| 4d20bfaaec | |||
| 9d255103fe |
@@ -34,7 +34,7 @@ pipeline:
|
|||||||
commands:
|
commands:
|
||||||
- dpkg --add-architecture armel
|
- dpkg --add-architecture armel
|
||||||
- apt-get update
|
- apt-get update
|
||||||
- apt-get install -y crossbuild-essential-armel libdbus-1-dev:armel --no-install-recommends
|
- apt-get install -y crossbuild-essential-armel libdbus-1-dev:armel libdbus-1-3:armel --no-install-recommends
|
||||||
- rustup target add arm-unknown-linux-gnueabi
|
- rustup target add arm-unknown-linux-gnueabi
|
||||||
- PKG_CONFIG=arm-linux-gnueabi-pkg-config CARGO_TARGET_ARM_UNKNOWN_LINUX_GNUEABI_LINKER=arm-linux-gnueabi-gcc cargo build --release --target arm-unknown-linux-gnueabi
|
- PKG_CONFIG=arm-linux-gnueabi-pkg-config CARGO_TARGET_ARM_UNKNOWN_LINUX_GNUEABI_LINKER=arm-linux-gnueabi-gcc cargo build --release --target arm-unknown-linux-gnueabi
|
||||||
- mv target/arm-unknown-linux-gnueabi/release/alma alma-arm
|
- mv target/arm-unknown-linux-gnueabi/release/alma alma-arm
|
||||||
|
|||||||
745
Cargo.lock
generated
745
Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
18
Cargo.toml
18
Cargo.toml
@@ -5,16 +5,16 @@ authors = ["Roey Darwish Dror, PurpleCow"]
|
|||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
which = "4.4"
|
which = "7.0.1"
|
||||||
log = "0.4"
|
log = "0.4.22"
|
||||||
structopt = "0.3"
|
structopt = "0.3.26"
|
||||||
tempfile = "3"
|
tempfile = "3"
|
||||||
serde = { version = "1", features = ["derive"] }
|
serde = { version = "1", features = ["derive"] }
|
||||||
toml = "0.7"
|
toml = "0.8.19"
|
||||||
byte-unit = "4.0"
|
byte-unit = "5.1.6"
|
||||||
nix = "0.26"
|
nix = "0.29"
|
||||||
env_logger = "0.10"
|
env_logger = "0.11.6"
|
||||||
pretty_env_logger = "0.5"
|
pretty_env_logger = "0.5"
|
||||||
dialoguer = "0.10"
|
dialoguer = "0.11"
|
||||||
console = "0.15"
|
console = "0.15.10"
|
||||||
anyhow = "1"
|
anyhow = "1"
|
||||||
|
|||||||
31
gitea/workflows/rust.yaml
Normal file
31
gitea/workflows/rust.yaml
Normal file
@@ -0,0 +1,31 @@
|
|||||||
|
name: Rust
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
pull_request:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- uses: actions-rs/toolchain@v1
|
||||||
|
with:
|
||||||
|
toolchain: stable
|
||||||
|
profile: minimal
|
||||||
|
override: true
|
||||||
|
components: rustfmt, clippy
|
||||||
|
- uses: actions-rs/cargo@v1
|
||||||
|
name: Check format
|
||||||
|
with:
|
||||||
|
command: fmt
|
||||||
|
args: --all -- --check
|
||||||
|
- uses: actions-rs/cargo@v1
|
||||||
|
name: Run clippy
|
||||||
|
with:
|
||||||
|
command: clippy
|
||||||
|
args: --all-targets --locked -- -D warnings
|
||||||
|
- uses: actions-rs/cargo@v1
|
||||||
|
name: Run tests
|
||||||
|
with:
|
||||||
|
command: test
|
||||||
Reference in New Issue
Block a user