forked from Plemya-x/alr-repo
gitea deps
This commit is contained in:
@ -42,7 +42,6 @@ prepare() {
|
||||
cd ${name}
|
||||
# Patch to disable failing tests that rely on weak ssh keys (DSA-1024)
|
||||
# See https://github.com/go-gitea/gitea/issues/31624
|
||||
patch -Np1 < "${scriptdir}/disable_failing_tests.patch"
|
||||
make deps
|
||||
}
|
||||
|
||||
@ -55,7 +54,7 @@ build() {
|
||||
export EXTRA_GOFLAGS="-buildmode=pie -mod=readonly -modcacherw"
|
||||
export LDFLAGS="-linkmode=external -compressdwarf=false -X 'code.gitea.io/gitea/modules/setting.AppWorkPath=/var/lib/gitea/' -X 'code.gitea.io/gitea/modules/setting.CustomConf=/etc/gitea/app.ini'"
|
||||
export TAGS="bindata sqlite sqlite_unlock_notify pam"
|
||||
make -j1
|
||||
make -j$(nproc)
|
||||
}
|
||||
|
||||
check() {
|
||||
|
Reference in New Issue
Block a user