Skip to content

ci: build RPM

ci: build RPM #8

Workflow file for this run

name: Build RPM
# If a pull-request is pushed then cancel all previously running jobs related
# to that pull-request
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
cancel-in-progress: true
on: [pull_request]
jobs:
build:
runs-on: ubuntu-latest
name: Build RPM packages
container:
image: fedora:40
steps:
- name: Install git and tito
run: |
dnf install -y git tito
# Install git before doing `actions/checkout` so that we get our `.git/`
# directory
- uses: actions/[email protected]
with:
fetch-depth: 0
- name: more debug
run: |
git show
false
- name: Install dependencies of the SPEC file
run: |
dnf builddep -y beaker-system-scan.spec
- name: Debug
run: |
pwd
ls -lA
- name: Build RPM
run: |
tito build --rpm --output ./tito/