CI
This commit is contained in:
parent
b77d86ae12
commit
82388142f0
1 changed files with 7 additions and 8 deletions
|
@ -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
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue