mirror of https://github.com/m-labs/artiq.git
30 lines
1.1 KiB
YAML
30 lines
1.1 KiB
YAML
package:
|
|
name: artiq-build
|
|
version: {{ environ.get("GIT_DESCRIBE_TAG", "") }}
|
|
|
|
source:
|
|
git_url: ../..
|
|
|
|
build:
|
|
noarch: python
|
|
ignore_prefix_files: True
|
|
number: {{ environ.get("GIT_DESCRIBE_NUMBER", 0) }}
|
|
string: py_{{ environ.get("GIT_DESCRIBE_NUMBER", 0) }}+git{{ environ.get("GIT_FULL_HASH", "")[:8] }}
|
|
script_env:
|
|
- ARTIQ_TARGET
|
|
- ARTIQ_VARIANT
|
|
|
|
outputs:
|
|
- name: artiq-{{ environ.get("ARTIQ_TARGET") }}-{{ environ.get("ARTIQ_VARIANT") }}
|
|
|
|
requirements:
|
|
build:
|
|
- artiq-dev {{ "{tag} py_{number}+git{hash}".format(tag=environ.get("GIT_DESCRIBE_TAG"), number=environ.get("GIT_DESCRIBE_NUMBER"), hash=environ.get("GIT_FULL_HASH", "")[:8]) if "GIT_DESCRIBE_TAG" in environ else "" }}
|
|
run:
|
|
- artiq {{ "{tag} py_{number}+git{hash}".format(tag=environ.get("GIT_DESCRIBE_TAG"), number=environ.get("GIT_DESCRIBE_NUMBER"), hash=environ.get("GIT_FULL_HASH", "")[:8]) if "GIT_DESCRIBE_TAG" in environ else "" }}
|
|
|
|
about:
|
|
home: https://m-labs.hk/artiq
|
|
license: LGPL
|
|
summary: 'Bitstream, BIOS and firmware for the {{ environ.get("ARTIQ_TARGET") }}-{{ environ.get("ARTIQ_VARIANT") }} board variant'
|