-
Notifications
You must be signed in to change notification settings - Fork 290
/
Copy pathgtest.yaml
53 lines (44 loc) · 1.12 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
package:
name: gtest
version: 1.14.0
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
- python3-dev
- wolfi-base
pipeline:
- uses: fetch
with:
expected-sha256: 8ad598c73ad796e0d8280b082cebd82a630d73e73cd3c70057938a6501bba5d7
uri: https://github.com/google/googletest/archive/refs/tags/v${{package.version}}.tar.gz
- 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
- 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