Version v0.3.4 - Checking build.sh
This commit is contained in:
12
build.sh
12
build.sh
@@ -211,7 +211,7 @@ create_gitea_release() {
|
||||
fi
|
||||
|
||||
local token=$(cat "$HOME/.gitea_token" | tr -d '\n\r')
|
||||
local api_url="https://git.laantungir.net:222/api/v1/repos/laantungir/otp"
|
||||
local api_url="https://git.laantungir.net/api/v1/repos/laantungir/otp"
|
||||
|
||||
print_status "Creating Gitea release for $version..."
|
||||
|
||||
@@ -248,7 +248,7 @@ build_project() {
|
||||
|
||||
# Build x86_64 only
|
||||
print_status "Building OTP project for x86_64..."
|
||||
CC=gcc make
|
||||
make CC=gcc
|
||||
if [ $? -eq 0 ]; then
|
||||
mv otp otp-x86_64
|
||||
print_success "x86_64 build completed successfully"
|
||||
@@ -259,8 +259,8 @@ build_project() {
|
||||
else
|
||||
# Build both architectures
|
||||
print_status "Building OTP project for x86_64..."
|
||||
CC=gcc make clean
|
||||
CC=gcc make
|
||||
make clean
|
||||
make CC=gcc
|
||||
if [ $? -eq 0 ]; then
|
||||
mv otp otp-x86_64
|
||||
print_success "x86_64 build completed successfully"
|
||||
@@ -270,8 +270,8 @@ build_project() {
|
||||
fi
|
||||
|
||||
print_status "Building OTP project for ARM64/AArch64..."
|
||||
CC=aarch64-linux-gnu-gcc make clean
|
||||
CC=aarch64-linux-gnu-gcc make
|
||||
make clean
|
||||
make CC=aarch64-linux-gnu-gcc
|
||||
if [ $? -eq 0 ]; then
|
||||
mv otp otp-arm64
|
||||
print_success "ARM64/AArch64 build completed successfully"
|
||||
|
||||
Reference in New Issue
Block a user