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:
2 files changed
+4
-21
No files matched your search
@@ -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
@@ -2,14 +2,6 @@ pipeline {
|
|||||||
agent any
|
agent any
|
||||||
|
|
||||||
stages {
|
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') {
|
stage('Main') {
|
||||||
matrix {
|
matrix {
|
||||||
axes {
|
axes {
|
||||||
@@ -31,14 +23,6 @@ pipeline {
|
|||||||
steps {
|
steps {
|
||||||
sh '''
|
sh '''
|
||||||
export CARGO_HOME="$(pwd)/.cargo"
|
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 \
|
cargo build \
|
||||||
--release
|
--release
|
||||||
'''
|
'''
|
||||||
@@ -47,7 +31,10 @@ pipeline {
|
|||||||
|
|
||||||
stage('Archive artifact') {
|
stage('Archive artifact') {
|
||||||
steps {
|
steps {
|
||||||
sh 'echo TODO'
|
sh '''
|
||||||
|
ls -l target
|
||||||
|
find -name sqm-autorate-rust
|
||||||
|
'''
|
||||||
/*dir("target/${TARGET}/release") {
|
/*dir("target/${TARGET}/release") {
|
||||||
sh "cp -v sqm-autorate-rust sqm-autorate-rust-${TARGET}"
|
sh "cp -v sqm-autorate-rust sqm-autorate-rust-${TARGET}"
|
||||||
archiveArtifacts artifacts: "sqm-autorate-rust-${TARGET}", fingerprint: true, onlyIfSuccessful: true
|
archiveArtifacts artifacts: "sqm-autorate-rust-${TARGET}", fingerprint: true, onlyIfSuccessful: true
|
||||||
|
|||||||
Reference in new issue
Block a user