Skip to content

Build RPMs

Build RPMs #191

name: Build RPMs
on:
workflow_dispatch:
schedule:
- cron: "25 5 * * 0" # 5:25 am UTC on Sundays
jobs:
build-fc41:
runs-on: ubuntu-latest
name: Build Fedora 41 kernel with ACS override patch
steps:
- name: Checkout this repo
uses: actions/checkout@v4
- name: Free up disk space
run: |
sudo apt-get -qq purge build-essential "ghc*"
sudo apt-get clean
# cleanup docker images not used by us
docker system prune -af
# free up a lot of stuff from /usr/local
sudo rm -rf /usr/local
df -h
- name: Build the Fedora 41 RPMs
id: build-rpms
uses: ./fc41-action
- name: Upload the RPMs as artifacts
uses: actions/upload-artifact@v4
with:
name: kernel-${{ steps.build-rpms.outputs.kernel-version }}-fc41-acs-override-rpms
path: |
/home/runner/work/_temp/_github_home/rpmbuild/RPMS/x86_64/
!/home/runner/work/_temp/_github_home/rpmbuild/RPMS/x86_64/*debug*.rpm
build-fc40:
runs-on: ubuntu-latest
name: Build Fedora 40 kernel with ACS override patch
steps:
- name: Checkout this repo
uses: actions/checkout@v4
- name: Free up disk space
run: |
sudo apt-get -qq purge build-essential "ghc*"
sudo apt-get clean
# cleanup docker images not used by us
docker system prune -af
# free up a lot of stuff from /usr/local
sudo rm -rf /usr/local
df -h
- name: Build the Fedora 40 RPMs
id: build-rpms
uses: ./fc40-action
- name: Upload the RPMs as artifacts
uses: actions/upload-artifact@v4
with:
name: kernel-${{ steps.build-rpms.outputs.kernel-version }}-fc40-acs-override-rpms
path: |
/home/runner/work/_temp/_github_home/rpmbuild/RPMS/x86_64/
!/home/runner/work/_temp/_github_home/rpmbuild/RPMS/x86_64/*debug*.rpm