Compare commits
10 Commits
eb66aa482e
...
64c678714b
Author | SHA1 | Date | |
---|---|---|---|
64c678714b | |||
|
3bedfc9832 | ||
|
8f68835e59 | ||
|
3534174c99 | ||
|
b3bf9653e8 | ||
|
dbae8a0ade | ||
|
33c22b9c51 | ||
|
9f9d1cf2fb | ||
|
702d20668c | ||
|
7073a384b5 |
5
.SRCINFO
5
.SRCINFO
@ -1,11 +1,12 @@
|
||||
pkgbase = directx-headers-git
|
||||
pkgdesc = DirectX headers for using D3D12
|
||||
pkgver = r164.e87eade
|
||||
pkgver = r181.34c9866
|
||||
pkgrel = 1
|
||||
url = https://github.com/microsoft/DirectX-Headers
|
||||
arch = x86_64
|
||||
arch = aarch64
|
||||
license = MIT
|
||||
makedepends = meson
|
||||
makedepends = git
|
||||
provides = directx-headers
|
||||
conflicts = directx-headers
|
||||
source = DirectX-Headers::git+https://github.com/microsoft/DirectX-Headers.git
|
||||
|
44
Jenkinsfile
vendored
Normal file
44
Jenkinsfile
vendored
Normal file
@ -0,0 +1,44 @@
|
||||
pipeline {
|
||||
agent {
|
||||
label 'aarch64 && archlinux'
|
||||
}
|
||||
stages {
|
||||
stage('Download Config') {
|
||||
steps {
|
||||
dir('jenkins-utils') {
|
||||
git 'https://gitlab.classfun.cn:4443/renegade-project/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: 'gpg-file', variable: 'GPG_FILE'),
|
||||
string(credentialsId: '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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
22
PKGBUILD
22
PKGBUILD
@ -2,10 +2,10 @@
|
||||
|
||||
pkgname=directx-headers-git
|
||||
pkgdesc="DirectX headers for using D3D12"
|
||||
pkgver=r164.e87eade
|
||||
pkgver=r203.48f2395
|
||||
pkgrel=1
|
||||
arch=('x86_64')
|
||||
makedepends=('meson')
|
||||
arch=('aarch64')
|
||||
makedepends=('meson' 'git')
|
||||
provides=('directx-headers')
|
||||
conflicts=('directx-headers')
|
||||
url="https://github.com/microsoft/DirectX-Headers"
|
||||
@ -19,12 +19,18 @@ pkgver() {
|
||||
}
|
||||
|
||||
build() {
|
||||
# LTO breaks mesa...
|
||||
export CXXFLAGS="$CXXFLAGS -fno-lto"
|
||||
meson setup DirectX-Headers build \
|
||||
--prefix /usr \
|
||||
--libexecdir lib \
|
||||
--sbindir bin \
|
||||
--buildtype plain \
|
||||
--auto-features enabled \
|
||||
--wrap-mode nodownload \
|
||||
-D b_lto=false \
|
||||
-D b_pie=true \
|
||||
-D build-test=false
|
||||
|
||||
arch-meson DirectX-Headers build \
|
||||
-Dbuild-test=false
|
||||
ninja -C build
|
||||
meson configure --no-pager build
|
||||
}
|
||||
|
||||
package() {
|
||||
|
Loading…
Reference in New Issue
Block a user