代码拉取完成,页面将自动刷新
同步操作将从 科大讯飞/aiges 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
project_name: aiges
gomod:
# Proxy a module from proxy.golang.org, making the builds verifiable.
# This will only be effective if running against a tag. Snapshots will ignore this setting.
# Notice: for this to work your `build.main` must be a package, not a `.go` file.
#
# Default is false.
proxy: false
# If proxy is true, use these environment variables when running `go mod` commands (namely, `go mod tidy`).
# Defaults to `os.Environ()`.
env:
- GOPROXY=https://goproxy.cn
before:
hooks:
# You may remove this if you don't use go modules.
- go mod vendor
builds:
- env:
- CGO_ENABLED=1
- CC=x86_64-linux-gnu-gcc
- CC_FOR_TARGET=gcc-x86_64-linux-gnu
- PKG_CONFIG_PATH=/usr/lib/x86_64-linux-gnu/pkgconfig/
main: ./main
id: aiges
hooks:
pre:
- sudo apt-get install -y libnuma-dev
- mkdir -p {{ dir .Path }}/include
- cp -ar ./cgo/library/ {{ dir .Path }}/
- cp -ar ./cgo/header/widget/ {{ dir .Path }}/include/
binary: AIservice
goos:
- linux
goarch:
- amd64
tags:
- netgo
- static
- osusergo
ldflags:
# - -X github.com/labring/sealos/pkg/version.gitVersion={{.Version}}
# - -X github.com/labring/sealos/pkg/version.gitCommit={{.ShortCommit}}
# - -X github.com/labring/sealos/pkg/version.buildDate={{.Date}}
# - -extldflags "-static -fpic"
- -s -w
- -linkmode external
archives:
-
files:
- src: './cgo/library/*'
dst: 'library'
strip_parent: true
# # Strip parent folders when adding files to the archive.
# # Default: false
# strip_parent: false
- src: './cgo/header/widget/*'
dst: 'include'
strip_parent: true
# # Strip parent folders when adding files to the archive.
# # Default: false
# - replacements:
# darwin: Darwin
# linux: Linux
# amd64: x86_64
# arm64: aarch64
checksum:
disable: true
name_template: '{{ .ProjectName }}_checksums.txt'
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。