Add gitea workflow
Some checks failed
libakerror CI Build / cmake_build (push) Has been cancelled

This commit is contained in:
2026-06-27 08:42:08 -04:00
parent 5b1a6c2cc7
commit 1128c5017c
2 changed files with 22 additions and 0 deletions

20
.gitea/workflows/ci.yaml Normal file
View File

@@ -0,0 +1,20 @@
name: libakerror CI Build
run-name: ${{ gitea.actor }} libakerror test
on: [push]
jobs:
cmake_build:
runs-on: ubuntu-latest
steps:
- run: echo "Triggered by ${{ gitea.event_name }} from ${{ gitea.repository }}@${{ gitea.ref }}. Building on ${{ runner.os }}."
- name: Check out repository code
uses: actions/checkout@v4
- name: cmake build
run: |
mkdir installdir
sudo apt-get update
sudo apt-get install cmake gcc
cmake -S . -B build -DCMAKE_INSTALL_PREFIX=installdir
cmake --build build
cmake --install build
- run: echo "🍏 This job's status is ${{ job.status }}."