ci: remove mold and debug statements

Removes mold integration and debug statements from the CI pipeline. This simplifies the build process and improves clarity by removing unnecessary tools and logs.
This commit is contained in:
Nils Andreas Svee committed 2026-02-21 13:57:47 +07:00
1 parent d0ecf72566
commit cccd3a3966
2 files changed
+4 -21

No files matched your search

-4
View File
@@ -1,4 +0,0 @@
# Apply mold to all Linux targets EXCEPT MIPS
# MIPS is excluded because mold does not support it.
[target.'cfg(all(target_os = "linux", not(any(target_arch = "mips", target_arch = "mips64"))))']
rustflags = ["-C", "link-arg=-fuse-ld=mold"]
Vendored
+4 -17
View File
@@ -2,14 +2,6 @@ pipeline {
agent any
stages {
stage('Preparation') {
steps {
sh '''
mkdir -p .local
curl -L -s https://github.com/rui314/mold/releases/download/v2.40.4/mold-2.40.4-x86_64-linux.tar.gz | tar -xzv --strip-components=1 -C .local/
'''
}
}
stage('Main') {
matrix {
axes {
@@ -31,14 +23,6 @@ pipeline {
steps {
sh '''
export CARGO_HOME="$(pwd)/.cargo"
export PATH="$(pwd)/.local/bin:${PATH}"
ls -l /usr/local/musl/bin
$TARGET_CC -v
clang -v
gcc -v
cargo -V
rustc -V
mold -V
cargo build \
--release
'''
@@ -47,7 +31,10 @@ pipeline {
stage('Archive artifact') {
steps {
sh 'echo TODO'
sh '''
ls -l target
find -name sqm-autorate-rust
'''
/*dir("target/${TARGET}/release") {
sh "cp -v sqm-autorate-rust sqm-autorate-rust-${TARGET}"
archiveArtifacts artifacts: "sqm-autorate-rust-${TARGET}", fingerprint: true, onlyIfSuccessful: true