Skip to content

Commit 145918c

Browse files
committed
build-commit: Add NetBSD targets.
1 parent 42f0ec7 commit 145918c

File tree

2 files changed

+40
-0
lines changed

2 files changed

+40
-0
lines changed

.github/workflows/build-commit.zig

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,26 @@ const targets = [_]Target{
118118
.cpu = "baseline",
119119
.key = "x86_64-freebsd",
120120
},
121+
.{
122+
.triple = "aarch64-netbsd.10.1-none",
123+
.cpu = "baseline",
124+
.key = "aarch64-netbsd",
125+
},
126+
.{
127+
.triple = "arm-netbsd.10.1-eabihf",
128+
.cpu = "baseline",
129+
.key = "arm-netbsd",
130+
},
131+
.{
132+
.triple = "x86-netbsd.10.1-none",
133+
.cpu = "baseline",
134+
.key = "x86-netbsd",
135+
},
136+
.{
137+
.triple = "x86_64-netbsd.10.1-none",
138+
.cpu = "baseline",
139+
.key = "x86_64-netbsd",
140+
},
121141
};
122142

123143
var arena_instance = std.heap.ArenaAllocator.init(std.heap.page_allocator);

.github/workflows/index.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,26 @@
103103
"tarball": "https://ziglang.org/builds/{{x86_64-freebsd-tarball}}",
104104
"shasum": "{{x86_64-freebsd-shasum}}",
105105
"size": "{{x86_64-freebsd-bytesize}}"
106+
},
107+
"aarch64-netbsd": {
108+
"tarball": "https://ziglang.org/builds/{{aarch64-netbsd-tarball}}",
109+
"shasum": "{{aarch64-netbsd-shasum}}",
110+
"size": "{{aarch64-netbsd-bytesize}}"
111+
},
112+
"arm-netbsd": {
113+
"tarball": "https://ziglang.org/builds/{{arm-netbsd-tarball}}",
114+
"shasum": "{{arm-netbsd-shasum}}",
115+
"size": "{{arm-netbsd-bytesize}}"
116+
},
117+
"x86-netbsd": {
118+
"tarball": "https://ziglang.org/builds/{{x86-netbsd-tarball}}",
119+
"shasum": "{{x86-netbsd-shasum}}",
120+
"size": "{{x86-netbsd-bytesize}}"
121+
},
122+
"x86_64-netbsd": {
123+
"tarball": "https://ziglang.org/builds/{{x86_64-netbsd-tarball}}",
124+
"shasum": "{{x86_64-netbsd-shasum}}",
125+
"size": "{{x86_64-netbsd-bytesize}}"
106126
}
107127
},
108128
"0.14.1": {

0 commit comments

Comments
 (0)