forked from wolfi-dev/os
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gtest.yaml
58 lines (49 loc) · 1.19 KB
/
gtest.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
package:
name: gtest
version: 1.15.2
epoch: 1
description: Google Test - C++ testing utility based on the xUnit framework (like JUnit)
copyright:
- license: BSD-3-Clause
environment:
contents:
packages:
- build-base
- openssf-compiler-options
- python3-dev
- wolfi-base
pipeline:
- uses: git-checkout
with:
expected-commit: b514bdc898e2951020cbdca1304b75f5950d1f59
repository: https://github.com/google/googletest
tag: v${{package.version}}
- uses: cmake/configure
with:
opts: |
-DBUILD_SHARED_LIBS=ON \
-DPYTHON_EXECUTABLE=python3 \
-Dgtest_build_tests=ON \
-DBUILD_GMOCK=ON
- uses: cmake/build
- uses: cmake/install
- uses: strip
subpackages:
- name: gtest-dev
pipeline:
- uses: split/dev
description: Google Test SDK
test:
pipeline:
- uses: test/pkgconf
- name: gmock
pipeline:
- runs: |
mkdir -p "${{targets.subpkgdir}}"/usr/lib
mv "${{targets.destdir}}"/usr/lib/libgmock*.so* "${{targets.subpkgdir}}"/usr/lib/
update:
enabled: true
github:
identifier: google/googletest
strip-prefix: v
tag-filter: v