Commit Graph

84 Commits

Author SHA1 Message Date
Username404 6ddf9a5dd2
Revert "Jenkinsfile: Set CPACK_STRIP_FILES to FALSE"
This reverts commit 84add6cb

Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-06-18 14:45:59 +02:00
Username404 c7fcee143c
Jenkinsfile: Strip riscv executables
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-06-18 13:55:54 +02:00
Username404 f391b637a9
Jenkinsfile: Set NO_SELF_PACKER to ON when upx does not exist in the /usr/bin directory
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-06-16 23:05:06 +02:00
Username404 84add6cbde
Jenkinsfile: Set CPACK_STRIP_FILES to FALSE
CMakeLists.txt: Don't redefine CPACK_STRIP_FILES if it is already
defined

Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-06-11 19:07:02 +02:00
Username404 e9468a3c7e
Jenkinsfile: Fix indentation at line 31
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-06-11 17:21:50 +02:00
Username404 ffb4b2bce3
Jenkinsfile: Set the timeout to 25 minutes
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-06-11 17:20:41 +02:00
Username404 28bac14303
Jenkinsfile: Disable UPX when compiling for the riscv architecture
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-06-11 17:19:58 +02:00
Username404 8923bdb12e
Jenkinsfile: Add an "Optional Tools" section to the comment
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-06-11 17:12:46 +02:00
Username404 c18e642903
Jenkinsfile: Don't run strip on executables when UPX is installed on the host
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-06-11 16:36:53 +02:00
Username404 a741422dbc
Jenkinsfile: Add a "build_directory" local variable
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-06-11 16:32:01 +02:00
Username404 6afec609b0
Jenkinsfile: Use glibc when compiling for riscv64 since the riscv64 cross-compiler doesn't seem to work
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-06-10 23:43:39 +02:00
Username404 70f82953f8
Jenkinsfile: Clarify the MinGW part of the "Required Compilers" section
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-06-10 22:58:34 +02:00
Username404 206549eb66
Jenkinsfile: Update the "Required Compilers" since musl does not seem to support std::future when cross-compiling for Windows
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-06-10 22:51:41 +02:00
Username404 f88ceebf3a
Jenkinsfile: Use ld when ld.gold is not available
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-06-10 22:41:17 +02:00
Username404 853f904528
Jenkinsfile: Link the binaries statically with muslc instead of linking them dynamically with glibc
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-06-10 22:15:55 +02:00
Username404 3c4902605a
Set IGNORE_MINIMAL_COMPILER_VERSION to "ON" in the Jenkinsfile
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-04-21 23:31:09 +02:00
Username404 4da10b61dd
Add default linker flags for emscripten toolchains in the CMakeLists.txt file
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-04-21 23:31:08 +02:00
Username404 87c090ceeb
Remove a useless comment in the Jenkinsfile
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-04-21 23:31:08 +02:00
Username404 6ecd006d09
Add a list of required compilers to the Jenkinsfile
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-04-21 23:31:08 +02:00
Username404 7b8f4fc6c4
Add a javascript target to the Jenkinsfile
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-04-21 23:31:08 +02:00
Username404 bd6212daea
Build x86_64 and i686 mingw32 targets before arm targets to give priority to the FAILURE stage result in the Jenkinsfile
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-03-13 21:58:40 +01:00
Username404 6dc658664a
Make the stage result 'UNSTABLE' when arm mingw32 targets fail to build in the Jenkinsfile
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-03-13 21:49:50 +01:00
Username404 4057423b8f
Set CMAKE_DISABLE_PRECOMPILE_HEADERS to "ON" in the Jenkinsfile
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-03-13 15:42:06 +01:00
Username404 b47c8b3dc7
Add a "Build for other architectures" stage to the Jenkinsfile
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-03-13 10:27:05 +01:00
Username404 7aae055651
Fix the Jenkinsfile and remove the useless CMake 3.22.0 warning 2022-02-14 14:12:00 +01:00
Username404-59 99898da83a
Make the variables in the Jenkinsfile final 2022-02-14 14:12:00 +01:00
Username404 4771aed6b4
Pass "-s" to the strip executable in the Jenkinsfile 2021-10-20 21:44:54 +02:00
Username404 233ab8d0e8
Add a comment listing a few required plugins in the Jenkinsfile 2021-10-05 22:16:17 +02:00
Username404 435bc45bd6
Clean the workspace after building in the Jenkinsfile 2021-10-05 22:13:16 +02:00
Username404 c422d4439a
Use the Ninja cmake generator in the Jenkinsfile if ninja is found on the filesystem 2021-10-02 14:13:02 +02:00
Username404-59 3fd04724f1
Add an option to disable ccache in the CMakeLists.txt file 2021-09-23 10:57:39 +02:00
Username404 2672f33959
Add a hyphen to the windows suffix and archive artifacts produced by a mingw toolchain in the Jenkinsfile 2021-09-12 14:29:25 +02:00
Username404 8c5d36aaa4
Pass booleans in the second stage of the Jenkinsfile 2021-09-12 14:01:18 +02:00
Username404 4fcfcfaa49
Add a "suffix" parameter to buildTarget 2021-09-12 13:59:07 +02:00
Username404 b3b505c210
Pass the "--no-warn-unused-cli" argument in the buildTarget function 2021-09-12 13:55:05 +02:00
Username404 941a3de72e
Set the RC compiler in the Jenkinsfile to avoid issues 2021-09-12 13:52:48 +02:00
Username404 5f97e94abf
Cross-compile to 4 windows architectures instead of just one 2021-09-12 13:39:55 +02:00
Username404-59 52474d6521
Cross-compile for the riscv64 architecture in the Jenkinsfile 2021-09-02 01:10:47 +02:00
Username404 50b84a03f3
Disable ccache in the Jenkinsfile 2021-08-28 23:11:51 +02:00
Username404 24d73a3f82
Add a note about the CMake 3.20+ requirement in the Jenkinsfile and set the used cmake installation to "Latest" 2021-08-18 14:17:39 +02:00
Username404 ab7fcee9a2
Set CPACK_DEBIAN_PACKAGE_SHLIBDEPS_PRIVATE_DIRS in the Jenkinsfile to avoid errors caused by dpkg 2021-08-18 13:44:01 +02:00
Username404 3b31ad0c6d
Set the package architectures of x86 packages to i386 instead of i686 2021-08-17 17:48:16 +02:00
Username404 05e8c5c9b6
Build x86 packages in the Jenkinsfile 2021-08-17 17:31:35 +02:00
Username404 82dde27690
Use GNU strip on produced executables in the buildTarget functions of the Jenkinsfile 2021-08-16 11:52:38 +02:00
Username404-59 31858e68a0
Fix the buildTarget method's parameters again by making isPackageArchDeb a boolean 2021-08-16 00:24:54 +02:00
Username404 b8b809a876
Add a boolean parameter to the buildTarget function of the Jenkinsfile to choose whether to use the debian architecture or the rpm architecture in the names of produced packages 2021-08-15 21:27:29 +02:00
Username404 58e54f1b94
Always use clang with lld when compiling for the host platform in the Jenkins pipeline 2021-08-15 17:57:55 +02:00
Username404 4f0fa09cd9
Build packages for the aarch64 and armhf architectures in the Jenkinsfile 2021-08-15 17:19:37 +02:00
Username404 7fd3cc32c8
Fix the position of the cmakeArgs arguments in functions calls in the Jenkinsfile, and add a CXX_TARGET variable 2021-08-15 17:08:24 +02:00
Username404 9f25ef909b
Re-add previously removed types in the Jenkinsfile 2021-08-15 16:40:50 +02:00