-
Notifications
You must be signed in to change notification settings - Fork 312
/
Copy pathgn.yaml
49 lines (42 loc) · 1.05 KB
/
gn.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
package:
name: gn
version: 0.0_git20250305
epoch: 0
description: "Meta-build system that generates build files for Ninja"
copyright:
- license: BSD-3-Clause
resources:
cpu: 24
memory: 16Gi
environment:
contents:
packages:
- build-base
- busybox
- ca-certificates-bundle
- clang
- git
# Doesn't work on 3.12
- python-3.11
- samurai
pipeline:
- runs: |
# googlesource repos don't provide stable download URLs, and this project doesn't use tags for versioning.
# our git-checkout pipeline requires a tag to checkout, so we need to do it this way...
git clone https://gn.googlesource.com/gn
cd gn
# Bump this commit when updating
git checkout dae6a4496ecbe141b76c67ce5f1996711a3f87cd
python3 build/gen.py
ninja -C out
- runs: |
mkdir -p ${{targets.destdir}}/usr/bin
mv gn/out/gn ${{targets.destdir}}/usr/bin/gn
update:
enabled: false
test:
pipeline:
# AUTOGENERATED
- runs: |
gn --version
gn --help