cicd: remove iran specific nonsense from drone script
This commit is contained in:
parent
b4038f8691
commit
cdf58d74e5
14
.drone.yml
14
.drone.yml
|
@ -10,9 +10,6 @@ steps:
|
||||||
- name: build
|
- name: build
|
||||||
image: ubuntu:latest
|
image: ubuntu:latest
|
||||||
commands:
|
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 update
|
||||||
- apt-get install -y build-essential cmake clang gcc g++ python3 python3-pip python3.12-venv
|
- apt-get install -y build-essential cmake clang gcc g++ python3 python3-pip python3.12-venv
|
||||||
|
|
||||||
|
@ -31,8 +28,8 @@ steps:
|
||||||
- conan profile detect
|
- conan profile detect
|
||||||
- cp ./tools/conan/profiles/linux_clang_amd64 $(conan profile path default)
|
- cp ./tools/conan/profiles/linux_clang_amd64 $(conan profile path default)
|
||||||
|
|
||||||
- conan remote add light https://artifactory.light7734.com/artifactory/api/conan/conan
|
# - conan remote add light https://artifactory.light7734.com/artifactory/api/conan/conan
|
||||||
- conan install . -r light --build=missing
|
- conan install . --build=missing
|
||||||
- conan build .
|
- conan build .
|
||||||
|
|
||||||
- build/Release/modules/light
|
- build/Release/modules/light
|
||||||
|
@ -50,9 +47,6 @@ steps:
|
||||||
- name: build
|
- name: build
|
||||||
image: ubuntu:latest
|
image: ubuntu:latest
|
||||||
commands:
|
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 update
|
||||||
- apt-get install -y build-essential cmake clang gcc g++ python3 python3-pip python3.12-venv
|
- apt-get install -y build-essential cmake clang gcc g++ python3 python3-pip python3.12-venv
|
||||||
|
|
||||||
|
@ -71,8 +65,8 @@ steps:
|
||||||
- conan profile detect
|
- conan profile detect
|
||||||
- cp ./tools/conan/profiles/linux_gcc_amd64 $(conan profile path default)
|
- cp ./tools/conan/profiles/linux_gcc_amd64 $(conan profile path default)
|
||||||
|
|
||||||
- conan remote add light https://artifactory.light7734.com/artifactory/api/conan/conan
|
# - conan remote add light https://artifactory.light7734.com/artifactory/api/conan/conan
|
||||||
- conan install . -r light --build=missing
|
- conan install . --build=missing
|
||||||
- conan build .
|
- conan build .
|
||||||
|
|
||||||
- build/Release/modules/light
|
- build/Release/modules/light
|
||||||
|
|
Loading…
Reference in New Issue