Skip to content

devicemapper v0.34.8 #555

devicemapper v0.34.8

devicemapper v0.34.8 #555

Workflow file for this run

---
name: devicemapper cargo CI
on:
push:
branches: [master]
paths:
- '**/Cargo.toml'
- '.github/workflows/cargo.yml'
pull_request:
branches: [master]
paths:
- '**/Cargo.toml'
- '.github/workflows/cargo.yml'
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
checks-with-ci-repo:
runs-on: ubuntu-22.04
container:
image: fedora:43 # CURRENT DEVELOPMENT ENVIRONMENT
steps:
- name: Install git for checkout action
run: dnf install -y git
- uses: actions/checkout@v6
with:
path: devicemapper-rs
persist-credentials: false
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
components: cargo
rust-src-dir: devicemapper-rs
- name: Install dependencies for Fedora
run: >
dnf install -y
clang
curl
device-mapper-devel
make
openssl-devel
python-requests
python-semantic_version
- name: Check out ci repo
uses: actions/checkout@v6
with:
path: ci
repository: stratis-storage/ci
persist-credentials: false
- name: Run comparisons of version specs with -sys package
run: |
COMPARE_FEDORA_VERSIONS=$GITHUB_WORKSPACE/ci/dependency_management/compare_fedora_versions FEDORA_RELEASE=rawhide IGNORE_ARGS="--ignore-category low" make -f ../Makefile check-fedora-versions
COMPARE_FEDORA_VERSIONS=$GITHUB_WORKSPACE/ci/dependency_management/compare_fedora_versions FEDORA_RELEASE=f44 IGNORE_ARGS="--ignore-category low" make -f ../Makefile check-fedora-versions
COMPARE_FEDORA_VERSIONS=$GITHUB_WORKSPACE/ci/dependency_management/compare_fedora_versions FEDORA_RELEASE=f43 IGNORE_ARGS="--ignore-category low" make -f ../Makefile check-fedora-versions
working-directory: devicemapper-rs/devicemapper-rs-sys
- name: Run comparisons of version specs with package
run: |
COMPARE_FEDORA_VERSIONS=$GITHUB_WORKSPACE/ci/dependency_management/compare_fedora_versions FEDORA_RELEASE=rawhide IGNORE_ARGS="--ignore-category low --ignore-high=devicemapper-sys" make -f Makefile check-fedora-versions
COMPARE_FEDORA_VERSIONS=$GITHUB_WORKSPACE/ci/dependency_management/compare_fedora_versions FEDORA_RELEASE=f44 IGNORE_ARGS="--ignore-category low --ignore-high=devicemapper-sys" make -f Makefile check-fedora-versions
COMPARE_FEDORA_VERSIONS=$GITHUB_WORKSPACE/ci/dependency_management/compare_fedora_versions FEDORA_RELEASE=f43 IGNORE_ARGS="--ignore-category low --ignore-high=devicemapper-sys" make -f Makefile check-fedora-versions
working-directory: devicemapper-rs