Initial Commit
This commit is contained in:
commit
3e5d6d88f3
17 changed files with 1109 additions and 0 deletions
42
.forgejo/workflows/build.yml
Normal file
42
.forgejo/workflows/build.yml
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
name: Build FAH Client Package
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
paths:
|
||||
- 'newfah/**'
|
||||
|
||||
jobs:
|
||||
build-deb:
|
||||
runs-on: [self-hosted]
|
||||
env:
|
||||
BRANCH: ${{ github.ref_name }}
|
||||
COMMIT: ${{ github.sha }}
|
||||
|
||||
steps:
|
||||
- name: Clone repository
|
||||
run: |
|
||||
git clone --branch "$BRANCH" https://mentalnet.xyz/forgejo/markmental/fah-debian13.git .
|
||||
echo "✅ Checked out $BRANCH ($COMMIT)"
|
||||
|
||||
- name: Install packaging tools
|
||||
run: |
|
||||
apt-get update
|
||||
apt-get install -y dpkg-dev fakeroot lintian
|
||||
|
||||
- name: Build .deb package
|
||||
run: |
|
||||
mkdir -p build
|
||||
dpkg-deb --build newfah build/fahclient.deb
|
||||
echo "✅ Package built at build/fahclient.deb"
|
||||
|
||||
- name: Lint package
|
||||
run: |
|
||||
lintian build/fahclient.deb || true
|
||||
|
||||
- name: Upload .deb artifact
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: fahclient-deb
|
||||
path: build/fahclient.deb
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue