Skip to content

Add build and dependabot_automerge workflows #43

Add build and dependabot_automerge workflows

Add build and dependabot_automerge workflows #43

Workflow file for this run

---
name: Build
# Trigger the workflow on pull request
"on":
pull_request:
branches:
- stable-0.1.x
env:
SCCACHE_GHA_ENABLED: "true"
RUSTC_WRAPPER: "sccache"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup sccache
uses: mozilla-actions/sccache-action@v0.0.4
with:
version: "v0.4.2"
- name: Install dependencies
run: |
sudo apt-get update && \
sudo apt-get install -y \
libpam0g-dev \
libudev-dev \
libssl-dev \
pkg-config \
tpm-udev \
libtss2-dev
- name: "Fetch submodules"
run: git submodule init && git submodule update
- name: "Run build"
run: cargo build --all-features --all-targets
continue-on-error: false