feat: first commit
This commit is contained in:
26
.gitea/workflows/cd.yaml
Normal file
26
.gitea/workflows/cd.yaml
Normal 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
20
.gitea/workflows/ci.yaml
Normal 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
|
||||
Reference in New Issue
Block a user