-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpresubmit.yml
102 lines (102 loc) · 2.4 KB
/
presubmit.yml
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
---
tasks:
ubuntu2204_linux:
name: all targets
platform: ubuntu2204
# fix rust builds on gcp worker
shell_commands:
- sudo apt update && sudo apt install -y pkg-config
build_targets:
- "k0s"
- "k0s_static"
#- "k0s_rs"
#- "hub_rs"
# - "k8s-controller"
ubuntu2204_windows_amd64:
name: windows_amd64
platform: ubuntu2204
build_flags:
- --platforms=@io_bazel_rules_go//go/toolchain:windows_amd64
build_targets:
- "k0s_static"
ubuntu2204_windows_386:
name: windows_386
platform: ubuntu2204
build_flags:
- --platforms=@io_bazel_rules_go//go/toolchain:windows_386
build_targets:
- "k0s_static"
# ubuntu2204_windows_arm64:
# name: windows_arm64
# platform: ubuntu2004
# build_flags:
# - --platforms=@io_bazel_rules_go//go/toolchain:windows_arm64
# build_targets:
# - "k0s_static"
ubuntu2204_windows_armv7:
name: windows_armv7
platform: ubuntu2204
build_flags:
- --platforms=@io_bazel_rules_go//go/toolchain:windows_arm
build_targets:
- "k0s_static"
# ubuntu2204_android_amd64:
# name: android_amd64
# platform: ubuntu2004
# environment:
# ANDROID_NDK_BAZEL: True
# ANDROID_NDK_HOME: ''
# build_flags:
# - --config=go_android_amd64
# build_targets:
# - "k0s"
# ubuntu2204_android_386:
# name: android_386
# platform: ubuntu2004
# environment:
# ANDROID_NDK_BAZEL: True
# ANDROID_NDK_HOME: ''
# build_flags:
# - --config=go_android_386
# build_targets:
# - "k0s"
# ubuntu2204_android_armv7:
# name: android_armv7
# platform: ubuntu2004
# environment:
# ANDROID_NDK_BAZEL: True
# ANDROID_NDK_HOME: ''
# build_flags:
# - --config=go_android_armv7
# build_targets:
# - "k0s"
# ubuntu2204_android_arm64:
# name: android_arm64
# platform: ubuntu2004
# environment:
# ANDROID_NDK_BAZEL: True
# ANDROID_NDK_HOME: ''
# build_flags:
# - --config=go_android_arm64
# build_targets:
# - "k0s"
# macos:
# build_targets:
# - "k0s"
# windows:
# build_targets:
# - "k0s"
ubuntu2204_darwin_amd64:
name: darwin_amd64
platform: ubuntu2204
build_flags:
- --platforms=@io_bazel_rules_go//go/toolchain:darwin_amd64
build_targets:
- "k0s_static"
ubuntu2204_darwin_arm64:
name: darwin_arm64
platform: ubuntu2204
build_flags:
- --platforms=@io_bazel_rules_go//go/toolchain:darwin_arm64
build_targets:
- "k0s_static"