From 9dfbafbb91f005fc7b7f62fe8431eb107c8a4092 Mon Sep 17 00:00:00 2001 From: Timo Behrendt Date: Sat, 27 Dec 2025 10:16:29 +0100 Subject: [PATCH] ci: add simple test pipeline --- .gitea/workflows/ci.yaml | 24 ++++++++++++++++++++++++ 1 file changed, 24 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..3110c82 --- /dev/null +++ b/.gitea/workflows/ci.yaml @@ -0,0 +1,24 @@ +name: CI + +on: + pull_request: + +jobs: + build: + runs-on: + - ubuntu-latest + - linux_amd64 + steps: + - uses: actions/checkout@v4 + - run: | + sudo apt-get update + sudo apt-get install -y build-essential cmake + - name: Configure and build + run: | + mkdir -p build + cd build + cmake .. + cmake --build . + - name: Verify binary + run: | + test -f build/usbmakroboard && echo "Binary built successfully" || exit 1