Add Gitea Actions workflow (from GitHub)
Some checks failed
Build package / test-and-build (push) Has been cancelled
Some checks failed
Build package / test-and-build (push) Has been cancelled
This commit is contained in:
34
.gitea/workflows/build.yml
Normal file
34
.gitea/workflows/build.yml
Normal file
@@ -0,0 +1,34 @@
|
|||||||
|
---
|
||||||
|
name: Build package
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: ['*']
|
||||||
|
pull_request:
|
||||||
|
branches: ['*']
|
||||||
|
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
test-and-build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: https://github.com/actions/checkout@v3
|
||||||
|
|
||||||
|
- name: ShellCheck
|
||||||
|
uses: ludeeus/action-shellcheck@2.0.0
|
||||||
|
env:
|
||||||
|
SHELLCHECK_OPTS: -e SC1091
|
||||||
|
|
||||||
|
- name: Build Debian package
|
||||||
|
uses: jtdor/build-deb-action@v1
|
||||||
|
with:
|
||||||
|
buildpackage-opts: --no-sign --check-command=lintian
|
||||||
|
extra-build-deps: lintian
|
||||||
|
|
||||||
|
- name: Upload debian package as artifact
|
||||||
|
uses: https://github.com/actions/upload-artifact@v3
|
||||||
|
with:
|
||||||
|
name: deb
|
||||||
|
path: debian/artifacts
|
||||||
Reference in New Issue
Block a user