Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Re-render the feedstock after CI registration.
- Loading branch information
Travis-CI on github.com/conda-forge/staged-recipes
committed
Aug 15, 2019
1 parent
402be11
commit b1e01a1
Showing
12 changed files
with
359 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
# This file was generated automatically from conda-smithy. To update this configuration, | ||
# update the conda-forge.yml and/or the recipe/meta.yaml. | ||
# -*- mode: yaml -*- | ||
|
||
jobs: | ||
- job: osx | ||
pool: | ||
vmImage: macOS-10.13 | ||
timeoutInMinutes: 360 | ||
strategy: | ||
maxParallel: 8 | ||
matrix: | ||
osx_target_platformosx-64: | ||
CONFIG: osx_target_platformosx-64 | ||
UPLOAD_PACKAGES: True | ||
|
||
steps: | ||
# TODO: Fast finish on azure pipelines? | ||
- script: | | ||
echo "Fast Finish" | ||
- script: | | ||
echo "Removing homebrew from Azure to avoid conflicts." | ||
curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall > ~/uninstall_homebrew | ||
chmod +x ~/uninstall_homebrew | ||
~/uninstall_homebrew -fq | ||
rm ~/uninstall_homebrew | ||
displayName: Remove homebrew | ||
- bash: | | ||
echo "##vso[task.prependpath]$CONDA/bin" | ||
sudo chown -R $USER $CONDA | ||
displayName: Add conda to PATH | ||
- script: | | ||
source activate base | ||
conda install -n base -c conda-forge --quiet --yes conda-forge-ci-setup=2 conda-build | ||
displayName: 'Add conda-forge-ci-setup=2' | ||
- script: | | ||
source activate base | ||
echo "Configuring conda." | ||
setup_conda_rc ./ ./recipe ./.ci_support/${CONFIG}.yaml | ||
export CI=azure | ||
source run_conda_forge_build_setup | ||
conda update --yes --quiet --override-channels -c conda-forge -c defaults --all | ||
env: { | ||
OSX_FORCE_SDK_DOWNLOAD: "1" | ||
} | ||
displayName: Configure conda and conda-build | ||
- script: | | ||
source activate base | ||
mangle_compiler ./ ./recipe ./.ci_support/${CONFIG}.yaml | ||
displayName: Mangle compiler | ||
- script: | | ||
source activate base | ||
make_build_number ./ ./recipe ./.ci_support/${CONFIG}.yaml | ||
displayName: Generate build number clobber file | ||
- script: | | ||
source activate base | ||
conda build ./recipe -m ./.ci_support/${CONFIG}.yaml --clobber-file ./.ci_support/clobber_${CONFIG}.yaml | ||
displayName: Build recipe | ||
- script: | | ||
source activate base | ||
upload_package ./ ./recipe ./.ci_support/${CONFIG}.yaml | ||
displayName: Upload recipe | ||
env: | ||
BINSTAR_TOKEN: $(BINSTAR_TOKEN) | ||
condition: not(eq(variables['UPLOAD_PACKAGES'], 'False')) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
This file is automatically generated by conda-smithy. To change any matrix elements, you should change conda-smithy's input conda_build_config.yaml and re-render the recipe, rather than editing these files directly. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
MACOSX_DEPLOYMENT_TARGET: | ||
- '10.9' | ||
channel_sources: | ||
- conda-forge,defaults | ||
channel_targets: | ||
- conda-forge main | ||
macos_machine: | ||
- x86_64-apple-darwin13.4.0 | ||
macos_min_version: | ||
- '10.9' | ||
target_platform: | ||
- osx-64 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# This file was generated automatically from conda-smithy. To update this configuration, | ||
# update the conda-forge.yml and/or the recipe/meta.yaml. | ||
# -*- mode: yaml -*- | ||
|
||
version: 2 | ||
|
||
jobs: | ||
build: | ||
working_directory: ~/test | ||
machine: true | ||
steps: | ||
- run: | ||
# The Circle-CI build should not be active, but if this is not true for some reason, do a fast finish. | ||
command: exit 0 | ||
|
||
workflows: | ||
version: 2 | ||
build_and_test: | ||
jobs: | ||
- build: | ||
filters: | ||
branches: | ||
ignore: | ||
- /.*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
* text=auto | ||
|
||
*.patch binary | ||
*.diff binary | ||
meta.yaml text eol=lf | ||
build.sh text eol=lf | ||
bld.bat text eol=crlf |
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
* @isuruf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
*.pyc | ||
|
||
build_artifacts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
BSD 3-clause license | ||
Copyright (c) 2015-2019, conda-forge | ||
All rights reserved. | ||
|
||
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: | ||
|
||
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. | ||
|
||
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. | ||
|
||
3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. | ||
|
||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,153 @@ | ||
About clang-compiler-activation | ||
=============================== | ||
|
||
Home: http://github.com/AnacondaRecipes/aggregate | ||
|
||
Package license: BSD-3-Clause | ||
|
||
Feedstock license: BSD 3-Clause | ||
|
||
Summary: clang compilers for conda-build 3 | ||
|
||
|
||
|
||
Current build status | ||
==================== | ||
|
||
|
||
<table> | ||
|
||
<tr> | ||
<td>Azure</td> | ||
<td> | ||
<details> | ||
<summary> | ||
<a href="https://dev.azure.com/conda-forge/feedstock-builds/_build/latest?definitionId=7470&branchName=master"> | ||
<img src="https://dev.azure.com/conda-forge/feedstock-builds/_apis/build/status/clang-compiler-activation-feedstock?branchName=master"> | ||
</a> | ||
</summary> | ||
<table> | ||
<thead><tr><th>Variant</th><th>Status</th></tr></thead> | ||
<tbody><tr> | ||
<td>osx_target_platformosx-64</td> | ||
<td> | ||
<a href="https://dev.azure.com/conda-forge/feedstock-builds/_build/latest?definitionId=7470&branchName=master"> | ||
<img src="https://dev.azure.com/conda-forge/feedstock-builds/_apis/build/status/clang-compiler-activation-feedstock?branchName=master&jobName=osx&configuration=osx_target_platformosx-64" alt="variant"> | ||
</a> | ||
</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
</details> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td>Linux</td> | ||
<td> | ||
<img src="https://img.shields.io/badge/linux-disabled-lightgrey.svg" alt="linux disabled"> | ||
</td> | ||
</tr> | ||
<tr> | ||
<td>Windows</td> | ||
<td> | ||
<img src="https://img.shields.io/badge/Windows-disabled-lightgrey.svg" alt="Windows disabled"> | ||
</td> | ||
</tr> | ||
![ppc64le disabled](https://img.shields.io/badge/ppc64le-disabled-lightgrey.svg) | ||
</table> | ||
|
||
Current release info | ||
==================== | ||
|
||
| Name | Downloads | Version | Platforms | | ||
| --- | --- | --- | --- | | ||
| [![Conda Recipe](https://img.shields.io/badge/recipe-clang_linux--64-green.svg)](https://anaconda.org/conda-forge/clang_linux-64) | [![Conda Downloads](https://img.shields.io/conda/dn/conda-forge/clang_linux-64.svg)](https://anaconda.org/conda-forge/clang_linux-64) | [![Conda Version](https://img.shields.io/conda/vn/conda-forge/clang_linux-64.svg)](https://anaconda.org/conda-forge/clang_linux-64) | [![Conda Platforms](https://img.shields.io/conda/pn/conda-forge/clang_linux-64.svg)](https://anaconda.org/conda-forge/clang_linux-64) | | ||
| [![Conda Recipe](https://img.shields.io/badge/recipe-clangxx_linux--64-green.svg)](https://anaconda.org/conda-forge/clangxx_linux-64) | [![Conda Downloads](https://img.shields.io/conda/dn/conda-forge/clangxx_linux-64.svg)](https://anaconda.org/conda-forge/clangxx_linux-64) | [![Conda Version](https://img.shields.io/conda/vn/conda-forge/clangxx_linux-64.svg)](https://anaconda.org/conda-forge/clangxx_linux-64) | [![Conda Platforms](https://img.shields.io/conda/pn/conda-forge/clangxx_linux-64.svg)](https://anaconda.org/conda-forge/clangxx_linux-64) | | ||
|
||
Installing clang-compiler-activation | ||
==================================== | ||
|
||
Installing `clang-compiler-activation` from the `conda-forge` channel can be achieved by adding `conda-forge` to your channels with: | ||
|
||
``` | ||
conda config --add channels conda-forge | ||
``` | ||
|
||
Once the `conda-forge` channel has been enabled, `clang_linux-64, clangxx_linux-64` can be installed with: | ||
|
||
``` | ||
conda install clang_linux-64 clangxx_linux-64 | ||
``` | ||
|
||
It is possible to list all of the versions of `clang_linux-64` available on your platform with: | ||
|
||
``` | ||
conda search clang_linux-64 --channel conda-forge | ||
``` | ||
|
||
|
||
About conda-forge | ||
================= | ||
|
||
[![Powered by NumFOCUS](https://img.shields.io/badge/powered%20by-NumFOCUS-orange.svg?style=flat&colorA=E1523D&colorB=007D8A)](http://numfocus.org) | ||
|
||
conda-forge is a community-led conda channel of installable packages. | ||
In order to provide high-quality builds, the process has been automated into the | ||
conda-forge GitHub organization. The conda-forge organization contains one repository | ||
for each of the installable packages. Such a repository is known as a *feedstock*. | ||
|
||
A feedstock is made up of a conda recipe (the instructions on what and how to build | ||
the package) and the necessary configurations for automatic building using freely | ||
available continuous integration services. Thanks to the awesome service provided by | ||
[CircleCI](https://circleci.com/), [AppVeyor](https://www.appveyor.com/) | ||
and [TravisCI](https://travis-ci.org/) it is possible to build and upload installable | ||
packages to the [conda-forge](https://anaconda.org/conda-forge) | ||
[Anaconda-Cloud](https://anaconda.org/) channel for Linux, Windows and OSX respectively. | ||
|
||
To manage the continuous integration and simplify feedstock maintenance | ||
[conda-smithy](https://github.com/conda-forge/conda-smithy) has been developed. | ||
Using the ``conda-forge.yml`` within this repository, it is possible to re-render all of | ||
this feedstock's supporting files (e.g. the CI configuration files) with ``conda smithy rerender``. | ||
|
||
For more information please check the [conda-forge documentation](https://conda-forge.org/docs/). | ||
|
||
Terminology | ||
=========== | ||
|
||
**feedstock** - the conda recipe (raw material), supporting scripts and CI configuration. | ||
|
||
**conda-smithy** - the tool which helps orchestrate the feedstock. | ||
Its primary use is in the construction of the CI ``.yml`` files | ||
and simplify the management of *many* feedstocks. | ||
|
||
**conda-forge** - the place where the feedstock and smithy live and work to | ||
produce the finished article (built conda distributions) | ||
|
||
|
||
Updating clang-compiler-activation-feedstock | ||
============================================ | ||
|
||
If you would like to improve the clang-compiler-activation recipe or build a new | ||
package version, please fork this repository and submit a PR. Upon submission, | ||
your changes will be run on the appropriate platforms to give the reviewer an | ||
opportunity to confirm that the changes result in a successful build. Once | ||
merged, the recipe will be re-built and uploaded automatically to the | ||
`conda-forge` channel, whereupon the built conda packages will be available for | ||
everybody to install and use from the `conda-forge` channel. | ||
Note that all branches in the conda-forge/clang-compiler-activation-feedstock are | ||
immediately built and any created packages are uploaded, so PRs should be based | ||
on branches in forks and branches in the main repository should only be used to | ||
build distinct package versions. | ||
|
||
In order to produce a uniquely identifiable distribution: | ||
* If the version of a package **is not** being increased, please add or increase | ||
the [``build/number``](https://conda.io/docs/user-guide/tasks/build-packages/define-metadata.html#build-number-and-string). | ||
* If the version of a package **is** being increased, please remember to return | ||
the [``build/number``](https://conda.io/docs/user-guide/tasks/build-packages/define-metadata.html#build-number-and-string) | ||
back to 0. | ||
|
||
Feedstock Maintainers | ||
===================== | ||
|
||
* [@isuruf](https://github.com/isuruf/) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# This file was generated automatically from conda-smithy. To update this configuration, | ||
# update the conda-forge.yml and/or the recipe/meta.yaml. | ||
# -*- mode: yaml -*- | ||
|
||
jobs: | ||
- template: ./.azure-pipelines/azure-pipelines-osx.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
#!/usr/bin/env python3 | ||
# | ||
# This file has been generated by conda-smithy in order to build the recipe | ||
# locally. | ||
# | ||
import os | ||
import glob | ||
import subprocess | ||
from argparse import ArgumentParser | ||
|
||
|
||
def setup_environment(ns): | ||
os.environ["CONFIG"] = ns.config | ||
os.environ["UPLOAD_PACKAGES"] = "False" | ||
|
||
|
||
def run_docker_build(ns): | ||
script = glob.glob(".*/run_docker_build.sh")[0] | ||
subprocess.check_call(script) | ||
|
||
def verify_config(ns): | ||
valid_configs = {os.path.basename(f)[:-5] for f in glob.glob(".ci_support/*.yaml")} | ||
print(f"valid configs are {valid_configs}") | ||
if ns.config in valid_configs: | ||
print("Using " + ns.config + " configuration") | ||
return | ||
elif len(valid_configs) == 1: | ||
ns.config = valid_configs.pop() | ||
print("Found " + ns.config + " configuration") | ||
elif ns.config is None: | ||
print("config not selected, please choose from the following:\n") | ||
selections = list(enumerate(sorted(valid_configs), 1)) | ||
for i, c in selections: | ||
print(f"{i}. {c}") | ||
s = input("\n> ") | ||
idx = int(s) - 1 | ||
ns.config = selections[idx][1] | ||
print(f"selected {ns.config}") | ||
else: | ||
raise ValueError("config " + ns.config + " is not valid") | ||
# Remove the following, as implemented | ||
if not ns.config.startswith('linux'): | ||
raise ValueError(f"only Linux configs currently supported, got {ns.config}") | ||
|
||
|
||
def main(args=None): | ||
p = ArgumentParser("build-locally") | ||
p.add_argument("config", default=None, nargs="?") | ||
|
||
ns = p.parse_args(args=args) | ||
verify_config(ns) | ||
setup_environment(ns) | ||
|
||
run_docker_build(ns) | ||
|
||
|
||
if __name__ == "__main__": | ||
main() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,6 @@ | ||
[] | ||
travis: | ||
secure: | ||
BINSTAR_TOKEN: NHth5aBEL/FdkpyA39xJi2LHnpFf1ZqQBSfKiZWDtLU+wOYYhOuwEA2lcOhEB+UEt1KHJekV+tO8foQWl3ufw4lQhG6BrvPGbY0q0Aef9Yzb/woY+mjAwJyuWU1a7ANH6KqbDpqtkSKJ0d1OiaQrbxN0c1pnf7Q6kvOJtaLVznNRN8ytODjWmRXhoi1hlDG6kAlfVjAekXIqjXTJ9e6ktkISdyiZPQoNb2k+tRcj5ZY2q1FCI+Y3sCbhihAwsZIKrUnSNWoAy4syyNMG7FMJzwzJXJ9X62UmIm0FomBlBD97aAT6RhMOwQn+2wlGivX8a+3U3g5g9bhhcEwCGM6PWDrjs6z9x1EdnUurs7bBnWQO2EYBNkvdbsX+NZfM0szbwK5FGFNzVQWL9ohYsHKUA2W8QM5+IRBuphyNt1EOhW6z2IYFWUIhTrZz/+12aoSVkvECbWRFg48KppHbyM/2r0Z73JXC5+gkI6mogx4LbRAuiyyb3aBxDEJi7A0pIurhIFWmt088iML5xtm7r3tqAkfXdH5K0orEKqj34gTvia/WtZ0+iJdkMWfTSr1bi5hY4M6J4CVF80JV+ITUESqIqsabxbhKyXVRYAiu08ZmcdxK4mWIHoBbOPCNNTJ5P8kWKNCLeT+YKXZFCoazs1RTpEZdJmWQVBt9AC0C4t42kH8= | ||
appveyor: | ||
secure: | ||
BINSTAR_TOKEN: tumuXLL8PU75WMnRDemRy02ruEq2RpNxeK3dz0MjFssnosPm2v4EFjfNB4PTotA1 |