This commit is contained in:
parent
40dbb2ef19
commit
0bfdcd9b83
30
.gitea/workflows/build.yml
Normal file
30
.gitea/workflows/build.yml
Normal file
@ -0,0 +1,30 @@
|
||||
name: Build
|
||||
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-gitea
|
||||
|
||||
steps:
|
||||
|
||||
- name: Prep For Local Builds
|
||||
run: echo "${LOCIP} gitea.comnenos" >> /etc/hosts
|
||||
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Install Build Tools
|
||||
run: |
|
||||
apt update
|
||||
apt -y --no-install-recommends install build-essential gcc make
|
||||
|
||||
- name: Build
|
||||
run: make
|
||||
|
||||
- name: Verify Binaries
|
||||
run: |
|
||||
echo "=== Built binaries ==="
|
||||
ls -la build/
|
||||
echo ""
|
||||
echo "=== Version check (cnhelp) ==="
|
||||
./build/cnhelp
|
||||
Loading…
Reference in New Issue
Block a user