bforce/.gitea/workflows/debpkg.yaml
Alexey Khromov c658e03af5
Some checks failed
Debian build / build (push) Failing after 3m39s
CI fx workflow 35
2025-04-13 18:32:15 +03:00

44 lines
1.3 KiB
YAML

name: Debian build
run-name: Deploy to ${{ inputs.deploy_target }} by @${{ github.actor }} 🚀
on: [push]
jobs:
build:
runs-on: ubuntu-latest
branches:
- 'master'
- 'zx'
steps:
- name: Checking environment
continue-on-error: true
run: printenv
- name: Installing build-essentials
continue-on-error: false
run: |
apt update
apt install -y build-essential fakeroot devscripts debhelper pkg-config --no-install-recommends
- name: Installing dependencies
continue-on-error: false
run: |
echo '---- bison ----'
apt install -y bison
echo '---- tcl ------'
apt install -y tcl
- name: Cloning source
uses: actions/checkout@v4
- name: Building package
continue-on-error: false
run: |
pwd
echo '---------------------'
cd ${GITHUB_WORKSPACE}/debian
ls -l
debuild -us -uc -b
echo '---build complete---'
ls -l ${{ env.GITHUB_WORKSPACE }}/../
- name: Try to upload artifacts
uses: actions/upload-artifact@v3
with:
name: bforce
path: ${{ env.GITHUB_WORKSPACE }}/../bforce*.deb
- run: echo "This job's over"