From 3bcff4467ce70a49fede63f30d2a4449302f6600 Mon Sep 17 00:00:00 2001 From: Simon Pribylski Date: Wed, 13 Mar 2024 20:12:07 +0100 Subject: [PATCH] add ci test --- .gitea/workflows/ubuntu.yaml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .gitea/workflows/ubuntu.yaml diff --git a/.gitea/workflows/ubuntu.yaml b/.gitea/workflows/ubuntu.yaml new file mode 100644 index 0000000..0c2357d --- /dev/null +++ b/.gitea/workflows/ubuntu.yaml @@ -0,0 +1,29 @@ +name: Linux arm64 +run-name: Build And Test + +on: [push] + +jobs: + Build: + runs-on: ubuntu-latest + steps: + - name: Check out repository code + uses: actions/checkout@v3 + + - name: Prepare XMake + uses: xmake-io/github-action-setup-xmake@v1 + with: + xmake-version: latest + actions-cache-folder: '.xmake-cache' + actions-cache-key: 'ubuntu' + + - name: XMake config + run: xmake f -p linux -y --root + + - name: Build + run: xmake --root + + - name: Test + run: | + xmake f -m debug --root + xmake test --root \ No newline at end of file