migrate to gitea

This commit is contained in:
BigfootACA 2024-09-18 20:43:36 +08:00
parent bb1037287b
commit 82314569e6
4 changed files with 3 additions and 47 deletions

4
.SRCINFO Executable file → Normal file
View File

@ -1,6 +1,6 @@
pkgbase = directx-headers-git
pkgdesc = DirectX headers for using D3D12
pkgver = r181.34c9866
pkgver = r203.48f2395
pkgrel = 1
url = https://github.com/microsoft/DirectX-Headers
arch = aarch64
@ -9,7 +9,7 @@ pkgbase = directx-headers-git
makedepends = git
provides = directx-headers
conflicts = directx-headers
source = DirectX-Headers::git+https://github.com/microsoft/DirectX-Headers.git
source = DirectX-Headers::git+https://gitea.classfun.cn:4443/mirrors/DirectX-Headers.git
sha256sums = SKIP
pkgname = directx-headers-git

0
.gitignore vendored Executable file → Normal file
View File

44
Jenkinsfile vendored
View File

@ -1,44 +0,0 @@
pipeline {
agent {
label 'aarch64 && archlinux'
}
stages {
stage('Download Config') {
steps {
dir('jenkins-utils') {
git 'https://gitea.classfun.cn:4443/ci/jenkins-utils'
}
}
}
stage('Cleanup packages') {
steps {
sh 'rm -f *.pkg.tar.*'
}
}
stage('Build') {
steps {
sh 'makepkg --config jenkins-utils/makepkg-aarch64.conf --syncdeps --force --noconfirm'
}
}
stage('Signature packages') {
steps {
withCredentials([
file(credentialsId: 'ci-gpg-file', variable: 'GPG_FILE'),
string(credentialsId: 'ci-gpg-secret', variable: 'GPG_SECRET')
]) {
sh 'python3 jenkins-utils/sign-pkg.py -d . -k "$GPG_FILE" -p "$GPG_SECRET"'
}
}
}
stage('Upload packages') {
steps {
sh 'python3 jenkins-utils/upload-pkg.py -d . -a aarch64'
}
}
stage('Archive') {
steps {
archiveArtifacts artifacts: '*.pkg.tar.*', fingerprint: true
}
}
}
}

2
PKGBUILD Executable file → Normal file
View File

@ -10,7 +10,7 @@ provides=('directx-headers')
conflicts=('directx-headers')
url="https://github.com/microsoft/DirectX-Headers"
license=('MIT')
source=('DirectX-Headers::git+https://github.com/microsoft/DirectX-Headers.git')
source=('DirectX-Headers::git+https://gitea.classfun.cn:4443/mirrors/DirectX-Headers.git')
sha256sums=('SKIP')
pkgver() {