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
|
||||
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
|
||||
|
|
Loading…
Add table
Reference in a new issue