This commit is contained in:
Imbus 2024-12-25 19:50:43 +01:00
parent b77d86ae12
commit 82388142f0

View file

@ -2,20 +2,19 @@ when:
- event: push
branch: master
steps:
- name: build
image: debian
steps:
- 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