diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml new file mode 100644 index 0000000..8a68808 --- /dev/null +++ b/.gitea/workflows/ci.yaml @@ -0,0 +1,28 @@ +name: libakstdlib CI Build +run-name: ${{ gitea.actor }} libakstdlib 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 + # Depends on libakerror@main + git clone https://source.starfort.tech/andrew/libakerror.git + cd libakerror + cmake -S . -B build + cmake --build build + cmake --install build + - name: build and test + run: | + cmake -S . -B build + cmake --build build + sudo cmake --install build + cmake --build build --target test + - run: echo "🍏 This job's status is ${{ job.status }}." diff --git a/README.md b/README.md new file mode 100644 index 0000000..24f3a4c --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# README + +![build badge](https://source.starfort.tech/andrew/libakstdlib/actions/workflows/ci.yaml/badge.svg?branch=main)