-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathintermediate-ubuntu-20.04.yaml
94 lines (81 loc) · 2.6 KB
/
intermediate-ubuntu-20.04.yaml
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
#
# SPDX-FileCopyrightText: 2022 Julian Amann <[email protected]>
# SPDX-License-Identifier: Apache-2.0
#
steps:
- checkout: self
clean: true
fetchDepth: 1
lfs: false
submodules: false
- script: |
lsb_release -a
displayName: "Show OS version"
- script: |
bazel version
displayName: "Show Bazel version"
- script: |
ROOT_DIR=$(pwd)
cd ${ROOT_DIR}/intermediate/cpp/Blaze
bazel build --config=gcc9 //...
bazel build --config=gcc9 --compilation_mode=dbg //...
bazel build --config=gcc9 --compilation_mode=opt //...
displayName: "Blaze"
- script: |
ROOT_DIR=$(pwd)
cd ${ROOT_DIR}/intermediate/cpp/catch2
bazel test --config=gcc11 //...
bazel test --config=gcc11 --compilation_mode=dbg //...
bazel test --config=gcc11 --compilation_mode=opt //...
displayName: "Bazel build Catch2 demo"
- script: |
ROOT_DIR=$(pwd)
cd ${ROOT_DIR}/intermediate/cpp/JsonForModernCpp
echo "fast"
bazel build --config=gcc9 //...
bazel test --config=gcc9 //...
echo "dbg"
bazel build --config=gcc9 --compilation_mode=dbg //...
bazel test --config=gcc9 --compilation_mode=dbg //...
echo "opt"
bazel build --config=gcc9 --compilation_mode=opt //...
#bazel test --config=gcc9 --compilation_mode=opt //...
displayName: "Bazel build & Test JsonForModernCpp demo"
- script: |
ROOT_DIR=$(pwd)
cd ${ROOT_DIR}/intermediate/cpp/fmt
bazel build //...
displayName: "Bazel build fmt demo gcc11-fastbuild"
- script: |
ROOT_DIR=$(pwd)
cd ${ROOT_DIR}/intermediate/cpp/oneTBB
bazel build //...
displayName: "Bazel build oneTBB demo gcc11-fastbuild"
- script: |
ROOT_DIR=$(pwd)
cd ${ROOT_DIR}/intermediate/cpp/OpenEXR/bzlmod
bazel build //...
displayName: 'OpenEXR bzlmod'
- script: |
ROOT_DIR=$(pwd)
cd ${ROOT_DIR}/intermediate/cpp/OpenEXR/repo-focused
bazel build //...
displayName: 'OpenEXR'
- script: |
ROOT_DIR=$(pwd)
cd ${ROOT_DIR}/intermediate/docker/rules_oci_bash
bazel run //:tarball
docker run vertexwahn/my_example:v0.0.1
displayName: 'rules_oci_bash'
- script: |
ROOT_DIR=$(pwd)
cd intermediate/cpp/GPU/OpenGL/EmscriptenGL
bazel build --config=gcc9 -- //:index_wasm
displayName: 'EmscriptenGL'
- script: |
ROOT_DIR=$(pwd)
cd intermediate/cpp/GPU/OpenGL/EmscriptenGLFW
# Desktop app
bazel build --config=gcc9 //:main
bazel build --config=gcc9 -- //:emscripten_main_wasm
displayName: 'EmscriptenGLFW'