Skip to content
Snippets Groups Projects
Commit 30da9933 authored by Guillaume Pernot's avatar Guillaume Pernot
Browse files

CI: Prelimenary conda build

parent 543b4a90
No related branches found
No related tags found
No related merge requests found
......@@ -348,6 +348,20 @@ ubuntu-xdk-report:
- job: ubuntu-xdk-qa-static-analysis
artifacts: true
#------------------------- Conda packages jobs ---------------------------------
conda-linux-build:
extends: .common
stage: build
only:
- develop@orfeotoolbox/otb
- /^release-[0-9]+\.[0-9]+$/@orfeotoolbox/otb
image: $BUILD_IMAGE_REGISTRY/otb-conda-build:latest
allow_failure: true
script:
- export otb_tag=${CI_COMMIT_TAG:-$CI_COMMIT_SHORT_SHA}
- ./CI/conda_build.sh
dependencies: []
#---------------------------- Deploy job ---------------------------------------
deploy:
tags:
......
#!/usr/bin/env bash
#
# Copyright (C) 2005-2020 Centre National d'Etudes Spatiales (CNES)
#
# This file is part of Orfeo Toolbox
#
# https://www.orfeo-toolbox.org/
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# This script aims to identify the unreferenced authors to invite the team to
# check if they have already signed the contributor license agreement (CLA).
# When this is done, the author must be added to the reference list.
source /build/anaconda3/bin/activate
cd /build/staged-recipes/recipes/
conda config --set anaconda_upload yes
anaconda login --username ${ANACONDA_LOGIN} --password ${ANACONDA_PASSWORD} --hostname ${CI_JOB_ID}
conda build ${CONDA_BUILD_OPTIONS} muparserx
conda build ${CONDA_BUILD_OPTIONS} openthreads
conda build ${CONDA_BUILD_OPTIONS} ossim
conda build ${CONDA_BUILD_OPTIONS} shark
conda build ${CONDA_BUILD_OPTIONS} tinyxml
conda build ${CONDA_BUILD_OPTIONS} libitk
conda build ${CONDA_BUILD_OPTIONS} otb
#!/bin/bash
#
# Copyright (C) 2005-2019 Centre National d'Etudes Spatiales (CNES)
# Copyright (C) 2005-2020 Centre National d'Etudes Spatiales (CNES)
#
# This file is part of Orfeo Toolbox
#
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment