Skip to content

Use update-alternatives for vulkan #45

Use update-alternatives for vulkan

Use update-alternatives for vulkan #45

Workflow file for this run

name: Build RPM
on:
- push
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Setup Docker
uses: docker/setup-buildx-action@v3
- name: Build RPM
run: |
docker run --rm -v $(pwd):/workspace -w /workspace fedora:latest bash -c "
dnf install -y dnf-plugins-core rpmdevtools &&
spectool --get-files --directory=SOURCES --all SPECS/*.spec &&
dnf builddep -y SPECS/*.spec &&
rpmbuild --define '_topdir /workspace' -ba SPECS/*.spec
"
- name: Check
run: |
ls -l BUILD/*
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: rpm-package
path: RPMS/