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 - event: push
branch: master branch: master
image: debian
steps: steps:
- name: build - name: install-dependencies
image: debian
commands: commands:
- apt update - apt update
- apt install libcmocka-dev -y - apt install libcmocka-dev -y
- apt install gcc -y - apt install gcc -y
- apt install make -y - apt install make -y
- name: build-tests
- make -j$(nproc) test/test.elf - make -j$(nproc) test/test.elf
- echo "echo hello" > executable.sh
- chmod +x executable.sh - name: run-tests
- name: a-test-step
image: golang:1.16
commands: commands:
- ./test/test.elf - ./test/test.elf
- echo "Testing ..."
- ./executable.sh