-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathproject.yml
158 lines (144 loc) · 3.43 KB
/
project.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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
---
:project:
:use_exceptions: FALSE
:use_test_preprocessor: TRUE
:use_auxiliary_dependencies: TRUE
:build_root: build
:release_build: TRUE
:test_file_prefix: test_
:which_ceedling: gem
:default_tasks:
- test:all
:release_build:
:output: lw.out
:environment:
:extension:
:executable: .out
:paths:
:source:
- src/**
:test:
- +:test/**
- -:test/support
:include:
- include/*
:support:
- test/support
:defines:
# in order to add common defines:
# 1) remove the trailing [] from the :common: section
# 2) add entries to the :common: section (e.g. :test: has TEST defined)
:common: &common_defines []
:test:
- *common_defines
- TEST
:test_preprocess:
- *common_defines
- TEST
:cmock:
:mock_prefix: mock_
:when_no_prototypes: :warn
:enforce_strict_ordering: TRUE
:includes:
- libhe_testable_types.h
:plugins:
- :ignore
- :callback
- :expect_any_args
- :ignore_arg
:treat_as:
uint8: HEX8
uint16: HEX16
uint32: UINT32
int8: INT8
bool: UINT8
:plugins:
:load_paths:
- "#{Ceedling.load_path}"
:enabled:
- module_generator
- dependencies
- compile_commands_json
:dependencies:
:libraries:
- :name: lightway_core
:source_path: third_party/lightway_core
:fetch:
:method: :git
:source: https://github.com/expressvpn/lightway-core.git
:branch: main
:environment:
- CFLAGS= -DLARGE_STATIC_BUFFERS -DWOLFSSL_DTLS_ALLOW_FUTURE -DWOLFSSL_MIN_RSA_BITS=2048 -DWOLFSSL_MIN_ECC_BITS=256 -fPIC
:build:
- /usr/local/bin/ceedling verbosity[4] release project:linux
:artifacts:
:includes:
- public/**
:static_libraries:
- build/artifacts/release/libhelium.a
- third_party/builds/wolfssl_build/lib/libwolfssl.a
- third_party/liboqs/build/lib/liboqs.a
- :name: libuv
:source_path: third_party/libuv
:artifact_path: third_party/builds/libuv
:fetch:
:method: :git
:source: https://github.com/libuv/libuv.git
:tag: v1.46.0
:build:
- "sh autogen.sh"
- "./configure --prefix=$(pwd)/../builds/libuv/ --enable-static --disable-shared"
- "make"
- "make install"
:artifacts:
:includes:
- include/*
:static_libraries:
- lib/libuv.a
- :name: zlog
:source_path: third_party/zlog
:artifact_path: third_party/zlog/tidy
:fetch:
:method: :git
:source: https://github.com/zma/zlog.git
:commit: 16f266e
:build:
- mkdir -p tidy
- cp zlog.c tidy/
- cp zlog.h tidy/
- cp zlog-config.h tidy/
- sed -i "s/1 << 22/1 << 10/" tidy/zlog-config.h
- sed -i "s/15/2/" zlog-config.h
:artifacts:
:includes:
- /*
:source:
- /zlog.c
- :name: argparse
:source_path: third_party/argparse
:artifact_path: third_party/argparse/tidy
:fetch:
:method: :git
:source: https://github.com/cofyc/argparse.git
:tag: v1.1.0
:build:
- mkdir -p tidy
- cp argparse.c tidy/
- cp argparse.h tidy/
:artifacts:
:includes:
- /*
:source:
- /argparse.c
:tools_release_linker:
:arguments:
- -lpthread
- -lm
- -ldl
:flags:
:release:
:compile:
:*:
- -O3
- -g
...