This repository has been archived on 2025-07-06. You can view files and clone it, but cannot push or open issues or pull requests.
rpmbuild-gonic/.gitea/workflows/build.yaml
Ben Vincent 261fe3eae4
All checks were successful
Build RPMs / Build on AlmaLinux 8 (pull_request) Successful in 3m49s
Change to gitea actions
- remove .drone.yml
- create .gitea/workflows/deploy.yaml and build.yaml
- install node in default container
- updated makefile
2024-09-07 21:35:02 +10:00

36 lines
1010 B
YAML

name: Build RPMs
on:
pull_request:
jobs:
build:
name: Build on AlmaLinux 8
runs-on: almalinux-8
container:
image: git.query.consul/unkin/almalinux8:latest
steps:
- name: Install nodejs:20
run: |
dnf module enable -y nodejs:20
dnf install -y nodejs
- name: Checkout code
uses: actions/checkout@v3
- name: Install RPMFusion
run: |
dnf install -y --nogpgcheck https://mirrors.rpmfusion.org/free/el/rpmfusion-free-release-$(rpm -E %rhel).noarch.rpm
dnf install -y --nogpgcheck https://mirrors.rpmfusion.org/nonfree/el/rpmfusion-nonfree-release-$(rpm -E %rhel).noarch.rpm
- name: Install required packages
run: |
dnf install -y golang gcc gcc-c++ make git sqlite-devel taglib-devel ffmpeg mpv rpmdevtools wget systemd sqlite taglib
- name: Build project
run: make build
- name: Find built packages
run: |
find /workspace | grep -E \.rpm$