Skip to content

Refactor hydraulic.rs and add OnOffExt trait implementation #1488

Refactor hydraulic.rs and add OnOffExt trait implementation

Refactor hydraulic.rs and add OnOffExt trait implementation #1488

Workflow file for this run

name: Rust
on:
push:
branches: [ "main", "wip", "develop" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Debian tools
run: sudo apt install debhelper
- name: Show environment
run: rustup show
- name: Run tests
run: cargo test --release --all-features
- name: Build deb
run: ./scripts/package.sh
- name: Install deb
run: sudo dpkg -i ./target/glonax*.deb
- name: Test install
run: |
glonaxd -V
- name: Publish artifacts
uses: actions/upload-artifact@v4
with:
name: glonax-${{ github.ref_name }}.deb
path: ./target/**.deb
overwrite: true