add jenkinsfile
Some checks failed
pyrite-dev/taiga/pipeline/head There was a failure building this commit

This commit is contained in:
Nishi 2026-03-01 22:48:04 +09:00
commit dc37db4781
Signed by: nishi
GPG key ID: 27EF69B208EB9343
2 changed files with 30 additions and 0 deletions

25
Jenkinsfile vendored Normal file
View file

@ -0,0 +1,25 @@
pipeline {
agent {
label "built-in"
}
stages {
stage("Build") {
parallel {
stage("Build for Linux 64-bit") {
agent {
label "built-in"
}
steps {
sh("make -j4 CC=musl-gcc LDFLAGS=-static")
archiveArtifacts("taiga")
}
}
}
post {
always {
notifyDiscord()
}
}
}
}
}

View file

@ -4,6 +4,11 @@
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#ifdef _WIN32
#include <direct.h>
#else
#include <unistd.h>
#endif
/* site.c */
int action_site(int argc, char** argv);