Compare commits
No commits in common. "2631987a0715cc02646376d3bc535e5f00ffa74b" and "242c13099b597b58de2c5db3cb082c0004c0ac0b" have entirely different histories.
2631987a07
...
242c13099b
17
.github/workflows/rust.yml
vendored
17
.github/workflows/rust.yml
vendored
@ -1,17 +0,0 @@
|
|||||||
on: [push]
|
|
||||||
|
|
||||||
name: CSRS - CI
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build_and_test:
|
|
||||||
name: csrs
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
- uses: actions-rs/toolchain@v1
|
|
||||||
with:
|
|
||||||
toolchain: stable
|
|
||||||
- uses: actions-rs/cargo@v1
|
|
||||||
with:
|
|
||||||
command: build
|
|
||||||
args: --release --all-features
|
|
70
.travis.yml
70
.travis.yml
@ -1,70 +0,0 @@
|
|||||||
os:
|
|
||||||
- linux
|
|
||||||
language: rust
|
|
||||||
rust:
|
|
||||||
- stable
|
|
||||||
cache:
|
|
||||||
- apt
|
|
||||||
matrix:
|
|
||||||
include:
|
|
||||||
- env:
|
|
||||||
- NAME=csrs
|
|
||||||
- TARGET=arm-unknown-linux-gnueabihf
|
|
||||||
- LINKER=arm-linux-gnueabihf-gcc
|
|
||||||
- PACKAGE=$NAME-rpi2.tar.gz
|
|
||||||
addons:
|
|
||||||
apt:
|
|
||||||
packages: &1
|
|
||||||
- gcc-arm-linux-gnueabihf
|
|
||||||
- libc6-armhf-cross
|
|
||||||
- libc6-dev-armhf-cross
|
|
||||||
- env:
|
|
||||||
- NAME=csrs
|
|
||||||
- TARGET=armv7-unknown-linux-gnueabihf
|
|
||||||
- LINKER=arm-linux-gnueabihf-gcc
|
|
||||||
- PACKAGE=$NAME-rpi3.tar.gz
|
|
||||||
addons:
|
|
||||||
apt:
|
|
||||||
packages: *1
|
|
||||||
- env:
|
|
||||||
- NAME=csrs
|
|
||||||
- TARGET=i686-unknown-linux-gnu
|
|
||||||
- PACKAGE=$NAME-i686.tar.gz
|
|
||||||
addons:
|
|
||||||
apt:
|
|
||||||
packages:
|
|
||||||
- gcc-multilib
|
|
||||||
- env:
|
|
||||||
- NAME=csrs
|
|
||||||
- TARGET=x86_64-unknown-linux-gnu
|
|
||||||
- PACKAGE=$NAME-x86_64.tar.gz
|
|
||||||
install:
|
|
||||||
- export PATH="$PATH:$HOME/.cargo/bin"
|
|
||||||
- rustup target add $TARGET || true
|
|
||||||
- |
|
|
||||||
if [ -n "$LINKER" ]; then
|
|
||||||
mkdir -p ~/.cargo
|
|
||||||
echo >> ~/.cargo/config
|
|
||||||
echo "[target.$TARGET]" >> ~/.cargo/config
|
|
||||||
echo "linker = \"$LINKER\"" >> ~/.cargo/config
|
|
||||||
fi
|
|
||||||
script:
|
|
||||||
- |
|
|
||||||
if [ $TARGET = "x86_64-unknown-linux-gnu" ]; then
|
|
||||||
cargo test
|
|
||||||
fi
|
|
||||||
- cargo build --target $TARGET --verbose --release
|
|
||||||
before_deploy:
|
|
||||||
- tar -czf $PACKAGE -C target/$TARGET/release/ $NAME
|
|
||||||
deploy:
|
|
||||||
provider: releases
|
|
||||||
api_key:
|
|
||||||
secure: $API_SECRET_ENV
|
|
||||||
file: "${PACKAGE}"
|
|
||||||
skip_cleanup: true
|
|
||||||
on:
|
|
||||||
tags: true
|
|
||||||
repo: csrs
|
|
||||||
env:
|
|
||||||
global:
|
|
||||||
secure: T7p7SMSsOz/YhawHHkmB4wnOb924+rHEmI2BXA/je96GhbcKEV2noB0blaCsbr7Km6KGXZ6zbvIpNUV70GLtDLjQptP3/usn58SCaUCgj+2r/XGc8QgisUfqIklA+pS7uqgv1wm7Lwpa5MXNx6YiHhavGxo9glbc33P2q/sMk+L8+RH4qSRYR/fTMjki19puGqN4Gc6u6NZ2xZ7FWRfJmmj3zO6W1jA5sDbl5RMPROkpOhoJYtjXByB/VaEVxlDEoeo04GEsFT+ZeLER7T9Zum01oGRx3uTJEegqmsVNyRMxsi2GiCqipVJMxkDMiDYmyur9WVKXd1tipdR+Vf4vJbSJM4kVihFjD1Seom8mZXJYdS/vZ/v7P6g8nlos7ncDS7NtsmFkDOdaMN3HryDyxJx+eDnG5B/QZ5yGxEQVqC9tE4NPxaITVbcVkngfbeksgyMXg+LxaBKDabhncDPmmjHTc7lBph/vqmgPSDh+OmW5tuPNcMw/NelYMgkDCV8reegX3CsbLIBS8XIyjJZtG3URP9wl1BYDk/j23StzKYpNI1/4M5SoSlV6Ktb/5IzEF2IhhiESeMAbwpTvv9LgDT2iIsdyRVKPQoIg0tTZxHAToD+S8qmqfo4Vo0jhnHGsoWKHldv88pIaC1hzP6HqvhaBMBxHqGV8dXnOMbdBN2U=
|
|
@ -1,16 +1,17 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "csrs"
|
name = "csrs"
|
||||||
version = "0.1.2-dev"
|
version = "0.1.1-dev"
|
||||||
authors = ["Sambo Chea <sombochea@cubetiqs.com>"]
|
authors = ["Sambo Chea <sombochea@cubetiqs.com>"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
description = "CUBETIQ Syncer for database tools and internal tool for the team in the company."
|
description = "CUBETIQ Syncer for database tools and internal tool for the team in the company."
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
repository = "https://github.com/CUBETIQ/csrs.git"
|
repository = "https://github.com/CUBETIQ/csrs.git"
|
||||||
keywords = ["rust-cli", "cubetiq-cli", "tools", "clap"]
|
keywords = ["rust-cli", "cubetiq-cli", "tools", "clap"]
|
||||||
categories = ["command-line-interface", "command-line-utilities"]
|
categories = ["cli", "tools"]
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
|
|
||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
|
structopt = "0.3.13"
|
||||||
clap = "2.33.3"
|
clap = "2.33.3"
|
Loading…
Reference in New Issue
Block a user