From cdf58d74e55f33f091e9bd6bd20180570c5c9c28 Mon Sep 17 00:00:00 2001 From: light7734 Date: Sat, 12 Oct 2024 01:21:44 +0330 Subject: [PATCH] cicd: remove iran specific nonsense from drone script --- .drone.yml | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/.drone.yml b/.drone.yml index 77e5a2f..9e82cba 100644 --- a/.drone.yml +++ b/.drone.yml @@ -10,9 +10,6 @@ steps: - name: build image: ubuntu:latest commands: - - sed -i 's#http://archive.ubuntu.com/ubuntu/#http://ir.archive.ubuntu.com/ubuntu/#g' /etc/apt/sources.list.d/ubuntu.sources - - head -n -8 /etc/apt/sources.list.d/ubuntu.sources > tmp && mv tmp /etc/apt/sources.list.d/ubuntu.sources - - apt update - apt-get install -y build-essential cmake clang gcc g++ python3 python3-pip python3.12-venv @@ -31,8 +28,8 @@ steps: - conan profile detect - cp ./tools/conan/profiles/linux_clang_amd64 $(conan profile path default) - - conan remote add light https://artifactory.light7734.com/artifactory/api/conan/conan - - conan install . -r light --build=missing + # - conan remote add light https://artifactory.light7734.com/artifactory/api/conan/conan + - conan install . --build=missing - conan build . - build/Release/modules/light @@ -50,9 +47,6 @@ steps: - name: build image: ubuntu:latest commands: - - sed -i 's#http://archive.ubuntu.com/ubuntu/#http://ir.archive.ubuntu.com/ubuntu/#g' /etc/apt/sources.list.d/ubuntu.sources - - head -n -8 /etc/apt/sources.list.d/ubuntu.sources > tmp && mv tmp /etc/apt/sources.list.d/ubuntu.sources - - apt update - apt-get install -y build-essential cmake clang gcc g++ python3 python3-pip python3.12-venv @@ -71,8 +65,8 @@ steps: - conan profile detect - cp ./tools/conan/profiles/linux_gcc_amd64 $(conan profile path default) - - conan remote add light https://artifactory.light7734.com/artifactory/api/conan/conan - - conan install . -r light --build=missing + # - conan remote add light https://artifactory.light7734.com/artifactory/api/conan/conan + - conan install . --build=missing - conan build . - build/Release/modules/light