Add gitea workflow
All checks were successful
libakerror CI Build / cmake_build (push) Successful in 2m39s

This commit is contained in:
2026-06-27 08:42:08 -04:00
parent 5b1a6c2cc7
commit 4fad0cec59
3 changed files with 32 additions and 0 deletions

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

@@ -0,0 +1,23 @@
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: dependencies
run: |
sudo apt-get update -y
sudo apt-get install -y cmake gcc moreutils
- name: build and test
run: |
mkdir installdir
cmake -S . -B build -DCMAKE_INSTALL_PREFIX=installdir
cmake --build build
cmake --install build
cmake --build build --target test
- run: echo "🍏 This job's status is ${{ job.status }}."