feat: build x86_64-unknown-linux-gnu with centos config (#1941)

This commit is contained in:
zonyitoo
2025-05-06 13:44:56 +08:00
parent 8407c5138a
commit 47bebcbb3d
2 changed files with 8 additions and 0 deletions
@@ -93,6 +93,10 @@ jobs:
#compile_cargo_flags="-Z build-std=std,panic_abort,proc_macro"
fi
if [[ "$compile_target" == "x86_64-unknown-linux-gnu" ]]; then
export CROSS_CONFIG="${{ github.workspace }}/Cross-centos.toml"
fi
cd build
./build-release -t ${{ matrix.platform.target }} $compile_features $compile_compress $compile_nightly $compile_cargo_flags
+4
View File
@@ -111,6 +111,10 @@ jobs:
#compile_cargo_flags="-Z build-std=std,panic_abort,proc_macro"
fi
if [[ "$compile_target" == "x86_64-unknown-linux-gnu" ]]; then
export CROSS_CONFIG="${{ github.workspace }}/Cross-centos.toml"
fi
cd build
./build-release -t ${{ matrix.platform.target }} $compile_features $compile_compress $compile_nightly $compile_cargo_flags