Add gitea workflow
Some checks failed
libakerror CI Build / cmake_build (push) Failing after 2m39s

This commit is contained in:
2026-06-27 08:42:08 -04:00
parent 5b1a6c2cc7
commit 2e0c838d59
2 changed files with 25 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 . --target test
- run: echo "🍏 This job's status is ${{ job.status }}."

View File

@@ -2,6 +2,8 @@
This library provides a TRY/CATCH style exception handling mechanism for C.
![build badge](https://source.starfort.tech/andrew/libakerror/actions/workflows/ci.yaml/badge.svg?branch=main)
# Why?
There is nothing wrong with C as it is. This library does not claim to fix some problem with C.