-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy path.goreleaser.yml
87 lines (87 loc) · 2.11 KB
/
.goreleaser.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
# goreleaser config to build kkrt
# This configuration file is by gorelease in goreleaser-cross docker image providing cross-compilation environment
project_name: zk-pig
snapshot:
version_template: "{{ .Tag }}-next"
checksum:
split: true # Create one checksum file per artifact
# Build for multiple platforms
builds:
- id: darwin-amd64
main: ./
binary: zkpig
goos:
- darwin
goarch:
- amd64
env:
- CC=o64-clang
- CXX=o64-clang++
flags:
- -mod=readonly
ldflags:
- -s -w -X github.com/kkrt-labs/zk-pig/src.Version={{.Version}}
- id: darwin-arm64
main: ./
binary: zkpig
goarch:
- arm64
goos:
- darwin
env:
- CC=oa64-clang
- CXX=oa64-clang++
flags:
- -mod=readonly
ldflags:
- -s -w -X github.com/kkrt-labs/zk-pig/src.Version={{.Version}}
- id: linux-amd64
main: ./
binary: zkpig
env:
- CC=x86_64-linux-gnu-gcc
- CXX=x86_64-linux-gnu-g++
goarch:
- amd64
goos:
- linux
flags:
- -mod=readonly
ldflags:
- -s -w -X github.com/kkrt-labs/zk-pig/src.Version={{.Version}}
- -extldflags "-lc -lrt -lpthread --static"
- id: linux-arm64
main: ./
binary: zkpig
goarch:
- arm64
goos:
- linux
env:
- CC=aarch64-linux-gnu-gcc
- CXX=aarch64-linux-gnu-g++
flags:
- -mod=readonly
ldflags:
- -s -w -X github.com/kkrt-labs/zk-pig/src.Version={{.Version}}
- -extldflags "-lc -lrt -lpthread --static"
# Publish draft release notes to GitHub with built artifacts attached to it
release:
github:
owner: kkrt-labs
name: zk-pig
make_latest: true
draft: true
use_existing_draft: true
mode: keep-existing # this keeps release notes drafted by release-drafter
# Publish to Homebrew
brews:
- name: zkpig
description: "zkpig enables to generate ZK-EVM prover inputs for proving EVM blocks"
repository:
owner: kkrt-labs
name: homebrew-kkrt
branch: main
download_strategy: CurlDownloadStrategy
directory: Formula
homepage: "https://github.com/kkrt-labs/zk-pig"