Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Horustctl #200

Closed
wants to merge 11 commits into from
Closed
17 changes: 10 additions & 7 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ jobs:
components: rustfmt
profile: minimal
override: true

- name: cargo fmt -- --check
uses: actions-rs/cargo@v1
with:
Expand All @@ -38,13 +37,10 @@ jobs:

strategy:
matrix:
build: [stable, beta, nightly]
build: [stable, beta]
include:
- build: beta
rust: beta
- build: nightly
rust: nightly
benches: true

steps:
- name: Checkout
Expand All @@ -57,12 +53,16 @@ jobs:
profile: minimal
override: true

- name: Install protoc
run: sudo apt-get install -y protobuf-compiler

- name: Build debug
uses: actions-rs/cargo@v1
with:
command: build
args: ${{ matrix.features }}

- name: Create /var/run/horust directory
run: sudo mkdir -p /var/run/horust && sudo chmod 777 /var/run/horust
- name: Test
uses: actions-rs/cargo@v1
with:
Expand Down Expand Up @@ -120,12 +120,15 @@ jobs:
override: true
target: ${{ matrix.target }}

- name: Install protoc
run: sudo apt-get install -y protobuf-compiler

- name: Build target
uses: actions-rs/cargo@v1
with:
use-cross: true
command: build
args: --release --target ${{ matrix.target }}
args: --release --package horust --bin horust --target ${{ matrix.target }}

- name: Package
shell: bash
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/target
**/*.rs.bk
.idea
.idea
**/target
Loading