feat: first commit

This commit is contained in:
2026-02-21 22:52:41 +01:00
commit 593e896e3e
9 changed files with 146 additions and 0 deletions

26
.gitea/workflows/cd.yaml Normal file
View File

@@ -0,0 +1,26 @@
name: Continuous Delivery
on:
push:
tags:
- "v[0-9]+.[0-9]+.[0-9]+"
jobs:
build_n_upload:
runs-on: linux
steps:
- name: Git checkout
uses: actions/checkout@v6
with:
fetch-tags: true
- name: Build tarball
run: make tarball
env:
GIT_REFERENCE: ${{ github.ref }}
- name: Build rpm package
run: rpmbuild -ba "$(make name).spec"
- name: Upload rpm package
run: make upload
env:
GIT_PACKAGES_USERNAME: ${{ vars.GIT_PACKAGES_USERNAME }}
GIT_PACKAGES_TOKEN: ${{ secrets.GIT_PACKAGES_TOKEN }}

20
.gitea/workflows/ci.yaml Normal file
View File

@@ -0,0 +1,20 @@
name: Continuous Integration
on:
push:
branches:
- main
jobs:
lint_n_build:
runs-on: linux
steps:
- name: Git checkout
uses: actions/checkout@v6
with:
fetch-depth: 0
fetch-tags: true
- name: Build tarball
run: make tarball
- name: Build rpm file
run: rpmbuild -ba netoik-rp.spec