From abe79bad9921fb107eeaf7311ad6b661eb3b7ae6 Mon Sep 17 00:00:00 2001 From: Andrew Kesterson Date: Sat, 27 Jun 2026 08:42:08 -0400 Subject: [PATCH] Add gitea workflow --- .gitea/workflows/ci.yaml | 20 ++++++++++++++++++++ README.md | 2 ++ 2 files changed, 22 insertions(+) create mode 100644 .gitea/workflows/ci.yaml diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml new file mode 100644 index 0000000..37e24bb --- /dev/null +++ b/.gitea/workflows/ci.yaml @@ -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 binutils autoconf autotools + cmake -S . -B build -DCMAKE_INSTALL_PREFIX=installdir + cmake --build build + cmake --install build + - run: echo "🍏 This job's status is ${{ job.status }}." diff --git a/README.md b/README.md index ea8570d..acd4677 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,8 @@ This library provides a TRY/CATCH style exception handling mechanism for C. +![https://source.starfort.tech/{owner}/{repo}/actions/workflows/{workflow_file}/badge.svg?branch={branch}&event={event}&style={style}] + # Why? There is nothing wrong with C as it is. This library does not claim to fix some problem with C.