forked from winksaville/sadie
-
Notifications
You must be signed in to change notification settings - Fork 0
/
platform-matrix.yml
30 lines (26 loc) · 1.43 KB
/
platform-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
# 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} ..; fi
# Run the tests from the current build directory
- cd build-${Platform}; ninja
- 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_cpu_perf
- cd build-${Platform}; ninja run-test-ac_dispatcher
- cd build-${Platform}; ninja run-test-ac_memmgr
- cd build-${Platform}; ninja run-test-ac_mpscfifo
- cd build-${Platform}; ninja run-test-ac_printf
- cd build-${Platform}; ninja run-test-ac_putchar
- cd build-${Platform}; ninja run-test-ac_string
- cd build-${Platform}; ninja run-test-ac_sysconf
- cd build-${Platform}; ninja run-test-ac_thread
- cd build-${Platform}; ninja run-test-ac_timer