forked from picolibc/picolibc
-
Notifications
You must be signed in to change notification settings - Fork 0
56 lines (45 loc) · 1.36 KB
/
macos.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
name: Mac OS X
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
macos:
runs-on: macos-latest
strategy:
matrix:
meson_flags: [
"",
# Math configurations
"-Dnewlib-obsolete-math=false",
"-Dnewlib-obsolete-math=false -Dwant-math-errno=true",
"-Dnewlib-obsolete-math-float=true -Dnewlib-obsolete-math-double=false",
"-Dnewlib-obsolete-math=true",
"-Dnewlib-obsolete-math=true -Dwant-math-errno=true",
# Tinystdio configurations
"-Dio-float-exact=false",
"-Dio-long-long=true",
# Malloc configurations
"-Dnewlib-nano-malloc=false",
# Locale configurations
"-Dnewlib-locale-info=true -Dnewlib-locale-info-extended=true -Dnewlib-mb=true",
# Iconv configurations
"-Dnewlib-iconv-external-ccs=true"
]
test: [
"./.github/do-test do-native-configure build-native -Dnative-tests=false",
]
steps:
- name: 'Clone picolibc'
uses: actions/checkout@v2
- name: 'Setup python'
uses: actions/setup-python@v1
with:
python-version: '3.x'
- name: 'Install meson and ninja'
run: pip install meson ninja
- name: 'MacOS test'
run: ${{ matrix.test }} ${{ matrix.meson_flags }}