Skip to content

libcryptsetup nightly #1284

libcryptsetup nightly

libcryptsetup nightly #1284

Workflow file for this run

---
name: libcryptsetup nightly
# yamllint disable-line rule:truthy
on:
schedule:
- cron: 10 3 * * *
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
allowed_failures:
continue-on-error: true
strategy:
matrix:
include:
- components: cargo
toolchain: 1.81.0 # CURRENT DEVELOPMENT RUST TOOLCHAIN
task: make -f Makefile audit
- components: clippy
toolchain: stable
task: make -f Makefile clippy
runs-on: ubuntu-20.04
steps:
- name: Install git
run: sudo apt-get install git
- uses: actions/checkout@v4
with:
submodules: true
- uses: dtolnay/rust-toolchain@master
with:
components: ${{ matrix.component }}
toolchain: ${{ matrix.toolchain }}
- name: Install dependencies
run: sudo apt-get install libcryptsetup-dev
- name: Run ${{ matrix.task }} on ${{ matrix.toolchain }} toolchain
run: ${{ matrix.task }}
checks-with-ci-repo:
runs-on: ubuntu-20.04
container:
image: fedora:40 # CURRENT DEVELOPMENT ENVIRONMENT
steps:
- name: Install git
run: dnf install -y git
- uses: actions/checkout@v4
with:
submodules: true
- name: Install dependencies for Fedora
run: >
dnf install -y
clang
cryptsetup-devel
curl
git
make
openssl-devel
python-requests
python-semantic_version
- uses: dtolnay/rust-toolchain@master
with:
components: cargo
toolchain: 1.81.0 # CURRENT DEVELOPMENT RUST TOOLCHAIN
- name: Check out ci repo
run: git clone https://github.com/stratis-storage/ci.git
- name: Run comparisons of version specs with available Fedora packages
# yamllint disable rule:line-length
run: |
# -sys
COMPARE_FEDORA_VERSIONS=./compare_fedora_versions MANIFEST_PATH=../../libcryptsetup-rs-sys/Cargo.toml FEDORA_RELEASE=rawhide make -f ../../Makefile check-fedora-versions
COMPARE_FEDORA_VERSIONS=./compare_fedora_versions MANIFEST_PATH=../../libcryptsetup-rs-sys/Cargo.toml FEDORA_RELEASE=f40 make -f ../../Makefile check-fedora-versions
COMPARE_FEDORA_VERSIONS=./compare_fedora_versions MANIFEST_PATH=../../libcryptsetup-rs-sys/Cargo.toml FEDORA_RELEASE=f39 make -f ../../Makefile check-fedora-versions
# main
COMPARE_FEDORA_VERSIONS=./compare_fedora_versions MANIFEST_PATH=../../Cargo.toml FEDORA_RELEASE=rawhide IGNORE_ARGS="--ignore-high=libcryptsetup-rs-sys --ignore-high=loopdev" make -f ../../Makefile check-fedora-versions
COMPARE_FEDORA_VERSIONS=./compare_fedora_versions MANIFEST_PATH=../../Cargo.toml FEDORA_RELEASE=f40 IGNORE_ARGS="--ignore-high=libcryptsetup-rs-sys --ignore-high=loopdev" make -f ../../Makefile check-fedora-versions
COMPARE_FEDORA_VERSIONS=./compare_fedora_versions MANIFEST_PATH=../../Cargo.toml FEDORA_RELEASE=f39 IGNORE_ARGS="--ignore-high=libcryptsetup-rs-sys --ignore-high=loopdev" make -f ../../Makefile check-fedora-versions
working-directory: ./ci/dependency_management