update signature for hash_foreach value #55
Workflow file for this run
This file contains 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: Check patch | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
branches: [master] | |
jobs: | |
build-el9: | |
runs-on: ubuntu-latest | |
container: | |
image: quay.io/centos/centos:stream9 | |
steps: | |
- name: Prepare env | |
run: | | |
mkdir -p ${GITHUB_WORKSPACE}/tmp.repos/BUILD | |
yum install -y --setopt=tsflags=nodocs autoconf automake createrepo_c gettext-devel git systemd make git rpm-build epel-release | |
- uses: ovirt/checkout-action@main | |
- name: Make build | |
run: | | |
export EXTRA_DNF_OPT='--enablerepo=crb*,epel* rubygem-webrick' | |
export HOME=${GITHUB_WORKSPACE} | |
make -f .copr/Makefile srpm outdir="${GITHUB_WORKSPACE}" spec=rubygem-ovirt-engine-sdk4.spec | |
- name: Make and test rpm and gem | |
run: | | |
export HOME=${GITHUB_WORKSPACE} | |
./automation/check-merged.sh | |
- name: Create DNF repository | |
run: | | |
createrepo_c ${GITHUB_WORKSPACE}/exported-artifacts/ | |
- name: Test install | |
run: | | |
yum install -y ${GITHUB_WORKSPACE}/exported-artifacts/rubygem-ovirt-engine-sdk4*x86_64.rpm | |
yum --downloadonly install -y ${GITHUB_WORKSPACE}/exported-artifacts/*x86_64.rpm | |
- name: Upload artifacts | |
uses: ovirt/upload-rpms-action@main | |
with: | |
directory: exported-artifacts |