]> Nishi Git Mirror - aya.git/commitdiff
I activate this card! master
authorIzuru Yakumo <yakumo.izuru@chaotic.ninja>
Sat, 21 Sep 2024 12:42:44 +0000 (09:42 -0300)
committerIzuru Yakumo <yakumo.izuru@chaotic.ninja>
Sat, 21 Sep 2024 12:42:44 +0000 (09:42 -0300)
Signed-off-by: Izuru Yakumo <yakumo.izuru@chaotic.ninja>
Jenkinsfile [new file with mode: 0644]

diff --git a/Jenkinsfile b/Jenkinsfile
new file mode 100644 (file)
index 0000000..893aa52
--- /dev/null
@@ -0,0 +1,35 @@
+pipeline {
+    agent any
+    stages {
+       stage('Build for FreeBSD amd64') {
+           steps {
+               sh 'make GOOS=freebsd GOARCH=amd64'
+               archiveArtifacts artifacts: 'aya-freebsd-amd64', fingerprint: true
+           }
+       }
+       stage('Build for FreeBSD i386') {
+           steps {
+               sh 'make GOOS=freebsd GOARCH=386'
+               archiveArtifacts artifacts: 'aya-freebsd-386', fingerprint: true
+           }
+       }
+       stage('Build for NetBSD amd64') {
+           steps {
+               sh 'make GOOS=netbsd GOARCH=amd64'
+               archiveArtifacts artifacts: 'aya-netbsd-amd64', fingerprint: true
+           }
+       }
+       stage('Build for NetBSD i386') {
+           steps {
+               sh 'make GOOS=netbsd GOARCH=386'
+               archiveArtifacts artifacts: 'aya-netbsd-386', fingerprint: true
+           }
+       }
+       stage('Build for OpenBSD amd64') {
+           steps {
+               sh 'make GOOS=openbsd GOARCH=amd64'
+               archiveArtifacts artifacts: 'aya-openbsd-amd64', fingerprint: true
+           }
+       }
+    }
+}