ossl: Allow passing propq to the key creation API #589
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: RPM build | |
on: | |
pull_request: | |
branches: ["main"] | |
env: | |
VERSION: 1.2.0 | |
jobs: | |
rpmbuild: | |
name: Release tarball and run RPM Build | |
runs-on: ubuntu-22.04 | |
strategy: | |
fail-fast: false | |
matrix: | |
name: [fedora, centos10] | |
include: | |
- name: fedora | |
container: fedora:rawhide | |
- name: centos10 | |
container: quay.io/centos/centos:stream10 | |
container: ${{ matrix.container }} | |
steps: | |
- name: Configure container to install docs (#2312825) | |
run: sed -i -e 's/tsflags=nodocs//g' /etc/dnf/dnf.conf | |
- name: Get Date for DNF cache entry | |
id: get-date | |
run: | | |
echo "date=$(/bin/date -u "+%Y%V")" >> $GITHUB_OUTPUT | |
shell: bash | |
- name: Cache DNF packages (separate from the main job -- different dependencies) | |
uses: actions/cache@v4 | |
with: | |
path: | | |
/var/cache/libdnf5 | |
/var/cache/dnf | |
key: ${{ runner.os }}-${{ matrix.container }}-dnf-${{ steps.get-date.outputs.date }} | |
- name: Install Dependencies | |
run: | | |
if [ "${{ matrix.name }}" = "centos10" ]; then | |
dnf -y install rustc rpm-build openssl-devel cargo rust-toolset sqlite-devel clang git | |
else | |
dnf -y install rustc rpm-build cargo-rpm-macros openssl-devel git \ | |
'crate(asn1/default)' 'crate(bimap/default)' 'crate(bindgen/default) >= 0.69.0' \ | |
'crate(bindgen/default)' 'crate(bitflags/default)' 'crate(cfg-if/default)' \ | |
'crate(clap)' 'crate(clap/cargo)' 'crate(clap/derive)' 'crate(clap/help)' \ | |
'crate(clap/std)' 'crate(clap/usage)' 'crate(constant_time_eq/default)' \ | |
'crate(data-encoding/default)' 'crate(getrandom/default)' 'crate(hex/default)' \ | |
'crate(itertools/default)' 'crate(libc/default)' 'crate(num-bigint/default)' \ | |
'crate(num-integer/default)' 'crate(num-traits/default)' \ | |
'crate(pkg-config/default)' 'crate(rusqlite/default)' \ | |
'crate(serde/default)' 'crate(serde/derive)' 'crate(serde_json/default)' \ | |
'crate(serial_test/default)' \ | |
'crate(toml)' 'crate(toml/display)' 'crate(toml/parse)' 'crate(toml/serde)' \ | |
'crate(uuid/default)' 'crate(uuid/v4)' 'crate(cryptoki/default)' 'crate(vsprintf/default)' | |
fi | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
- name: RPM Build | |
run: | | |
git config --global --add safe.directory /__w/kryoptic/kryoptic | |
./misc/release.sh ${VERSION} | |
mkdir -p rpmbuild/SOURCES | |
cp kryoptic-${VERSION}.tar.gz kryoptic-vendor-${VERSION}.tar.gz rpmbuild/SOURCES/ | |
rpmbuild --define "_topdir $PWD/rpmbuild" -ba --without=gpgcheck \ | |
packaging/kryoptic.spec |