From dc37db47818b57bf279c25644788d3a88e6c106d Mon Sep 17 00:00:00 2001 From: NishiOwO Date: Sun, 1 Mar 2026 22:48:04 +0900 Subject: [PATCH] add jenkinsfile --- Jenkinsfile | 25 +++++++++++++++++++++++++ src/taiga.h | 5 +++++ 2 files changed, 30 insertions(+) create mode 100644 Jenkinsfile diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000..5a10021 --- /dev/null +++ b/Jenkinsfile @@ -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() + } + } + } + } +} diff --git a/src/taiga.h b/src/taiga.h index ca48563..52e1aff 100644 --- a/src/taiga.h +++ b/src/taiga.h @@ -4,6 +4,11 @@ #include #include #include +#ifdef _WIN32 +#include +#else +#include +#endif /* site.c */ int action_site(int argc, char** argv);