-
Notifications
You must be signed in to change notification settings - Fork 2
/
intermediate-ubuntu-24.04.yaml
125 lines (108 loc) · 3.47 KB
/
intermediate-ubuntu-24.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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
#
# SPDX-FileCopyrightText: 2024 Julian Amann <dev@vertexwahn.de>
# 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: |
gcc --version
displayName: 'Show GCC version'
- script: |
ROOT_DIR=$(pwd)
cd ${ROOT_DIR}/intermediate/cpp/Blaze
bazel build --config=gcc11
bazel build --config=gcc11 --compilation_mode=dbg //...
bazel build --config=gcc11 --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 //...
bazel test --enable_bzlmod --config=gcc11 //...
bazel test --enable_bzlmod --config=gcc11 --compilation_mode=dbg //...
bazel test --enable_bzlmod --config=gcc11 --compilation_mode=opt //...
displayName: 'catch2'
- script: |
ROOT_DIR=$(pwd)
cd ${ROOT_DIR}/intermediate/cpp/Eigen
bazel build --config=gcc11 //...
bazel build --config=gcc11 --compilation_mode=dbg //...
bazel build --config=gcc11 --compilation_mode=opt //...
displayName: 'Eigen'
- script: |
ROOT_DIR=$(pwd)
cd ${ROOT_DIR}/intermediate/cpp/fmt
bazel build //...
bazel run //:Demo
bazel build --enable_bzlmod //...
bazel run --enable_bzlmod //:Demo
displayName: 'fmt'
- script: |
ROOT_DIR=$(pwd)
cd ${ROOT_DIR}/intermediate/cpp/JsonForModernCpp
echo "fast"
bazel build --config=gcc11 //...
bazel test --config=gcc11 //...
echo "dbg"
bazel build --config=gcc11 --compilation_mode=dbg //...
bazel test --config=gcc11 --compilation_mode=dbg //...
echo "opt"
bazel build --config=gcc11 --compilation_mode=opt //...
#bazel test --config=gcc11 --compilation_mode=opt //...
displayName: 'JsonForModernCpp'
- script: |
ROOT_DIR=$(pwd)
cd ${ROOT_DIR}/intermediate/cpp/googletest
bazel test --config=gcc11 //...
bazel test --enable_bzlmod --config=gcc11 //...
displayName: 'googletest'
- script: |
ROOT_DIR=$(pwd)
cd ${ROOT_DIR}/intermediate/cpp/oneTBB
bazel build //...
displayName: 'oneTBB'
- 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=gcc11 -- //:index_wasm
displayName: 'EmscriptenGL'
- script: |
ROOT_DIR=$(pwd)
cd intermediate/cpp/GPU/OpenGL/EmscriptenGLFW
# Desktop app
bazel build --config=gcc11 //:main
bazel build --config=gcc11 -- //:emscripten_main_wasm
displayName: 'EmscriptenGLFW'
- script: |
ROOT_DIR=$(pwd)
cd intermediate/WebdriverDemoMinimal
bazel test //...
displayName: 'WebdriverDemoMinimal'