From 82388142f01c9309037b2b5448e734d20f1fdb85 Mon Sep 17 00:00:00 2001 From: Imbus <> Date: Wed, 25 Dec 2024 19:50:43 +0100 Subject: [PATCH] CI --- .woodpecker/test.yaml | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/.woodpecker/test.yaml b/.woodpecker/test.yaml index b33b0a7..3797bc7 100644 --- a/.woodpecker/test.yaml +++ b/.woodpecker/test.yaml @@ -2,20 +2,19 @@ when: - event: push branch: master +image: debian + steps: - - name: build - image: debian + - name: install-dependencies commands: - apt update - apt install libcmocka-dev -y - apt install gcc -y - apt install make -y + + - name: build-tests - make -j$(nproc) test/test.elf - - echo "echo hello" > executable.sh - - chmod +x executable.sh - - name: a-test-step - image: golang:1.16 + + - name: run-tests commands: - ./test/test.elf - - echo "Testing ..." - - ./executable.sh