-
Notifications
You must be signed in to change notification settings - Fork 0
71 lines (58 loc) · 2.47 KB
/
release.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
name: Release
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-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",
# Original stdio configurations
"-Dtinystdio=false -Dnewlib-io-float=false",
"-Dtinystdio=false -Dnewlib-io-float=false -Dio-long-long=true",
"-Dtinystdio=false -Dnewlib-io-float=true",
"-Dtinystdio=false -Dnewlib-io-float=true -Dio-long-long=true",
# Locale configurations
"-Dnewlib-locale-info=true -Dnewlib-locale-info-extended=true -Dnewlib-mb=true",
# Iconv configurations
"-Dnewlib-iconv-external-ccs=true",
# Multithread
"-Dnewlib-multithread=true -Dnewlib-retargetable-locking=true",
"-Dnewlib-multithread=true -Dnewlib-retargetable-locking=true -Dnewlib-tinystdio=false"
]
test: [
"./.github/do-test do-native-configure build-native",
"./.github/do-test do-riscv-configure build-riscv",
"./.github/do-test do-arm-configure build-arm",
"./.github/do-test do-aarch64-configure build-aarch64",
"./.github/do-build do-lx106-configure build-lx106",
"./.github/do-test do-rv32imac-configure build-rv32imac",
"./.github/do-build do-clang-riscv-configure build-riscv-clang",
"./.github/do-test do-clang-thumbv7e+fp-configure build-clang-thumbv7e+fp",
"./.github/do-test do-clang-thumbv7m-configure build-clang-thumbv7m",
"./.github/do-test do-clang-rv32imafdc-configure build-clang-rv32imafdc",
]
steps:
- name: 'Clone picolibc'
uses: actions/checkout@v2
with:
path: picolibc
- name: 'Build picolibc container'
run: |
docker build -t picolibc \
-f picolibc/.github/Dockerfile \
picolibc
- name: 'Release test'
run: |
docker run --rm picolibc ${{ matrix.test }} ${{ matrix.meson_flags }} --buildtype release