-
Notifications
You must be signed in to change notification settings - Fork 1
/
.gitlab-ci.yml
76 lines (70 loc) · 1.7 KB
/
.gitlab-ci.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
stages:
- build
build:bbc_microbit:
stage: build
script:
- mkdir build
- ./autogen.sh
- cd build
- ../configure --with-machine=bbc_microbit --host=arm-none-eabi
- make
- arm-none-eabi-objcopy -O binary src/kernel/kernel src/kernel.bin
- arm-none-eabi-objcopy -O ihex src/kernel/kernel src/kernel.hex
artifacts:
name: "${CI_BUILD_NAME}_${CI_BUILD_REF_NAME}"
paths:
- build/src/kernel/kernel
- build/src/kernel.bin
- build/src/kernel.hex
expire_in: 1 day
build:beaglexm:
stage: build
script:
- mkdir build
- ./autogen.sh
- cd build
- ../configure --with-machine=beaglexm --host=arm-none-eabi
- make
- arm-none-eabi-objcopy -O binary src/kernel/kernel src/kernel.bin
artifacts:
name: "${CI_BUILD_NAME}_${CI_BUILD_REF_NAME}"
paths:
- build/src/kernel/kernel
- build/src/kernel.bin
expire_in: 1 day
build:iGEPv5:
stage: build
script:
- mkdir build
- ./autogen.sh
- cd build
- ../configure --with-machine=iGEPv5 --host=arm-none-eabi
- make
- arm-none-eabi-objcopy -O binary src/kernel/kernel src/kernel.bin
artifacts:
name: "${CI_BUILD_NAME}_${CI_BUILD_REF_NAME}"
paths:
- build/src/kernel/kernel
- build/src/kernel.bin
expire_in: 1 day
build:hosted:
stage: build
script:
- mkdir build
- ./autogen.sh
- cd build
- ../configure --with-machine=hosted
- make
artifacts:
name: "${CI_BUILD_NAME}_${CI_BUILD_REF_NAME}"
paths:
- build/src/kernel/kernel
expire_in: 1 day
build:i286_pc:
stage: build
script:
- mkdir build
- ./autogen.sh
- cd build
- ../configure --with-machine=i286_pc --host=i386-elf
- make