-
Notifications
You must be signed in to change notification settings - Fork 1
/
local-matrix.yml
49 lines (42 loc) · 2.58 KB
/
local-matrix.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
# A circleci matrix file for the platforms
env:
#- Platform=VersatilePB
- Platform=Posix
command:
# VersatilePB: Create the build directory and the build.ninja file
- if [[ "${Platform}" == "VersatilePB" ]]; then rm -rf build-${Platform}; mkdir build-${Platform}; fi
- if [[ "${Platform}" == "VersatilePB" ]]; then cd build-${Platform}; meson -D Platform=${Platform} --cross-file ../cross-file-${Platform} --buildtype plain ..; fi
# Posix: Create the build directory and the build.ninja file
- if [[ "${Platform}" == 'Posix' ]]; then rm -rf build-${Platform}; mkdir -p build-${Platform}; fi
- if [[ "${Platform}" == 'Posix' ]]; then cd build-${Platform}; meson -D Platform=${Platform} --cross-file ../cross-file-Posix-clang --buildtype plain ..; fi
# Build the world
- cd build-${Platform}; ninja
# Change permissions of files that need to be root
#- if [[ "${Platform}" == 'Posix' ]]; then sudo chown root:root build-${Platform}/platform/Posix/components/ac_inet_link/tests/test_posix_ac_inet_link; fi
#- if [[ "${Platform}" == 'Posix' ]]; then sudo chmod u+s build-${Platform}/platform/Posix/components/ac_inet_link/tests/test_posix_ac_inet_link; fi
#- sudo chown root:root build-${Platform}/components/ac_inet_link/tests/test_ac_inet_link
#- sudo chmod u+s build-${Platform}/components/ac_inet_link/tests/test_ac_inet_link
# Posix only tests
- if [[ "${Platform}" == 'Posix' ]]; then cd build-${Platform}; ninja run-test-posix-ac_inet_link_regular; fi
# Run the these test for all platforms
- cd build-${Platform}; ninja run-test-ac_arg
- cd build-${Platform}; ninja run-test-ac_assert
- cd build-${Platform}; ninja run-test-ac_bits
- cd build-${Platform}; ninja run-test-ac_check_sum
- cd build-${Platform}; ninja run-test-ac_comp_mgr
- cd build-${Platform}; ninja run-test-ac_dispatcher
- cd build-${Platform}; ninja run-test-ac_inet_link
- cd build-${Platform}; ninja run-test-ac_memmgr
- cd build-${Platform}; ninja run-test-ac_msg_pool
- cd build-${Platform}; ninja run-test-ac_mpsc_link_list
- cd build-${Platform}; ninja run-test-ac_mpsc_ring_buff
- cd build-${Platform}; ninja run-test-ac_printf
- cd build-${Platform}; ninja run-test-ac_putchar
- cd build-${Platform}; ninja run-test-ac_receptor
- cd build-${Platform}; ninja run-test-ac_string
- cd build-${Platform}; ninja run-test-ac_sysconf
- cd build-${Platform}; ninja run-test-ac_swap_bytes
- cd build-${Platform}; ninja run-test-ac_thread
- cd build-${Platform}; ninja run-test-ac_timer
- cd build-${Platform}; ninja run-test-ac_time
- cd build-${Platform}; ninja run-test-ac_tsc