Skip to content

Update all dependencies #40

Update all dependencies

Update all dependencies #40

Workflow file for this run

---
on:
push:
branches:
- master
pull_request:
jobs:
build_and_upload:
name: Build and archive artifacts
runs-on: ${{ matrix.os }}
env:
CARGO_TERM_COLOR: always
RUSTFLAGS: -C strip=symbols
strategy:
fail-fast: false
matrix:
os:
- windows-latest
- ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Get Rust target triple
id: get_target
shell: bash
run: |
echo -n 'name=' >> "${GITHUB_OUTPUT}"
rustc -vV | sed -n 's|host: ||p' >> "${GITHUB_OUTPUT}"
- name: Install build dependencies
if: matrix.os == 'ubuntu-latest'
run: sudo apt install -y libdbus-1-dev
- name: Run clippy checks in debug mode
env:
RUST_BACKTRACE: 1
run: |
cargo clippy --workspace -- -D warnings
- name: Build in debug mode
run: cargo build
- name: Archive artifacts
uses: actions/upload-artifact@v4
with:
name: svrbsctl-${{ steps.get_target.outputs.name }}
path: |
target/debug/svrbsctl.exe
target/debug/svrbsctl.pdb
target/debug/svrbsctl