From 7a2d6d09948ff1e7fef5545812021df51be889ef Mon Sep 17 00:00:00 2001 From: Artur Mukhamadiev Date: Mon, 2 Mar 2026 21:16:19 +0300 Subject: [PATCH] [actions] add minimal action with unit tests project would be build on aarch64 and unit tests would be executed on act_runner --- .gitea/workflows/test.yaml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .gitea/workflows/test.yaml diff --git a/.gitea/workflows/test.yaml b/.gitea/workflows/test.yaml new file mode 100644 index 0000000..b0b2182 --- /dev/null +++ b/.gitea/workflows/test.yaml @@ -0,0 +1,34 @@ +name: Verification +run-name: ${{ gitea.actor }} runs verification of the project +on: + push: + branches: + - 'master' + +jobs: + Is-Buildable: + runs-on: ubuntu-latest + steps: + - name: Ensure That Build system available + run: | + apt update + DEBIAN_FRONTEND=noninteractive apt install -y cmake make ninja-build gcc + - name: Prepare Environment + run: | + python3 -m venv $HOME/py/ + source $HOME/py/bin/activate + echo PATH=$PATH >> $GITEA_ENV + pip install meson + - name: Check out repository code + uses: actions/checkout@v4 + with: + submodules: 'true' + - name: Build project + run: | + cd ${{ gitea.workspace }} + meson setup build + meson compile -C build + - name: Unit Test Results + run: | + meson test -C build + - run: echo "🍏 This job's status is ${{ job.status }}."