From 5ee8e3f00c20a5557ea3db78a4534f4a6dc0403d Mon Sep 17 00:00:00 2001 From: Ilia Shipitsin Date: Wed, 17 Apr 2024 09:10:07 +0200 Subject: [PATCH] CI: cleanup azure pipeline helpers --- .ci/azure-pipelines/linux_build.sh | 15 --------------- .ci/azure-pipelines/macos_build.sh | 13 ------------- 2 files changed, 28 deletions(-) delete mode 100755 .ci/azure-pipelines/linux_build.sh delete mode 100755 .ci/azure-pipelines/macos_build.sh diff --git a/.ci/azure-pipelines/linux_build.sh b/.ci/azure-pipelines/linux_build.sh deleted file mode 100755 index 87537491..00000000 --- a/.ci/azure-pipelines/linux_build.sh +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/bash - -if [[ "${#SE_BUILD_NUMBER_TOKEN}" -eq 64 ]]; then - VERSION=$(python3 "version.py") - BUILD_NUMBER=$(curl "https://softether.network/get-build-number?commit=${BUILD_SOURCEVERSION}&version=${VERSION}&token=${SE_BUILD_NUMBER_TOKEN}") -else - BUILD_NUMBER=0 -fi - -cd ${BUILD_BINARIESDIRECTORY} - -cmake -G "Ninja" -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUILD_NUMBER=${BUILD_NUMBER} ${BUILD_SOURCESDIRECTORY} -cmake --build . - -cpack -C Release -G DEB diff --git a/.ci/azure-pipelines/macos_build.sh b/.ci/azure-pipelines/macos_build.sh deleted file mode 100755 index a7418e74..00000000 --- a/.ci/azure-pipelines/macos_build.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/bash - -if [[ "${#SE_BUILD_NUMBER_TOKEN}" -eq 64 ]]; then - VERSION=$(python3 "version.py") - BUILD_NUMBER=$(curl "https://softether.network/get-build-number?commit=${BUILD_SOURCEVERSION}&version=${VERSION}&token=${SE_BUILD_NUMBER_TOKEN}") -else - BUILD_NUMBER=0 -fi - -cd ${BUILD_BINARIESDIRECTORY} - -cmake -G "Ninja" -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUILD_NUMBER=${BUILD_NUMBER} -DOPENSSL_ROOT_DIR="/usr/local/opt/openssl" ${BUILD_SOURCESDIRECTORY} -cmake --build .