forked from bergzand/NanoCBOR
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.cirrus.yml
50 lines (46 loc) · 1.18 KB
/
.cirrus.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
container:
cpu: 1
memory: 128Mb
lint_task:
container:
image: silkeh/clang:latest
test_script: make clang-tidy
build_task:
depends_on:
- lint
install_script:
- apt update
- apt install -y libcunit1-dev
matrix:
- name: clang
env:
CC: clang
container:
matrix:
image: silkeh/clang:7
image: silkeh/clang:8
install_libgcc_script:
- apt install -y libgcc-9-dev
- name: gcc
env:
CC: gcc
container:
matrix:
image: gcc:8
image: gcc:9
test_script:
- make -C tests/automated clean test
- make bin/nanocbor.so
arm_task:
container:
image: hiberglobal/gcc-arm-none-eabi:8-2018-q4-major
env:
CFLAGS: -mno-thumb-interwork -mcpu=cortex-m0plus -mlittle-endian -mthumb -mfloat-abi=soft -march=armv6s-m -DNANOCBOR_BYTEORDER_HEADER=\"stddef.h\" -DNANOCBOR_BE64TOH_FUNC=__builtin_bswap64 -DNANOCBOR_HTOBE64_FUNC=__builtin_bswap64 -DNANOCBOR_HTOBE32_FUNC=__builtin_bswap32
CC: arm-none-eabi-gcc
install_script:
- apk add make
test_script:
- make objs
- arm-none-eabi-size bin/objs/* > output.txt
size_artifacts:
path: output.txt