-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbitbucket-pipelines.yml
More file actions
47 lines (45 loc) · 1.58 KB
/
bitbucket-pipelines.yml
File metadata and controls
47 lines (45 loc) · 1.58 KB
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
definitions:
caches:
build: build
image: chocotechnologies/dmod:1.0.1
pipelines:
default:
- step:
name: 'CMAKE: Build for x86_64'
runs-on:
- self.hosted
- linux
script:
- rm -rf build
- mkdir -p build
- cd build
- cmake .. -DDMOD_MODE=DMOD_MODULE -DDMOD_TOOLS_NAME=arch/x86_64
- cmake --build .
- cmake .. -DDMOD_MODE=DMOD_SYSTEM -DDMOD_TOOLS_NAME=arch/x86_64
- cmake --build .
- ./examples/system/dmod_loader ./dmf/example_app.dmf
- ./examples/system/dmod_loader ./dmf/MyApplication.dmf
- cmake --build . --target coverage_check
- echo "Building compressed DMF"
- cmake .. -DDMOD_MODE=DMOD_MODULE -DDMOD_TOOLS_NAME=arch/x86_64
- cmake --build .
- ./examples/system/dmod_loader ./dmfc/example_app.dmfc
- rm -rf dmf
- ./examples/system/dmod_loader ./dmfc/example_app.dmfc
- step:
name: 'MAKE: Build for x86_64'
runs-on:
- self.hosted
- linux
artifacts:
- ./build/examples/system/dmod_loader
- ./build/dmf/example_app.dmf
- ./build/dmf/dmodex.dmf
script:
- rm -rf build
- make DMOD_MODE=DMOD_SYSTEM
- make DMOD_MODE=DMOD_MODULE
- ./build/examples/system/dmod_loader build/dmf/example_app.dmf
- ./build/examples/system/dmod_loader build/dmfc/example_app.dmfc
- rm -rf build/dmf
- ./build/examples/system/dmod_loader build/dmfc/example_app.dmfc