Giter Club home page Giter Club logo

Comments (3)

RobinHolzingerQC avatar RobinHolzingerQC commented on July 24, 2024 1

fyi. @pavelzw

from rattler-build.

pavelzw avatar pavelzw commented on July 24, 2024

This is a stripped down failing example that doesn't require a source:

# yaml-language-server: $schema=https://raw.githubusercontent.com/prefix-dev/recipe-format/main/schema.json
context:
  name: rattler-build-demo
  version: 1
  build_variant: ${{ 'unix' if unix else 'win' }}
  build_number: 0

outputs:
  - package:
      name: ${{ name }}
      version: ${{ version }}
    build:
      noarch: generic
      number: ${{ build_number }}
      string: ${{ build_variant }}_${{ hash }}_${{ build_number }}
    requirements:
      run:
        - ${{ "__unix" if unix }}
        - ${{ "__win" if win }}

  - package:
      name: ${{ name }}-subpackage
      version: ${{ version }}
    build:
      noarch: generic
      number: ${{ build_number }}
      string: ${{ build_variant }}_${{ hash }}_${{ build_number }}
    requirements:
      run:
        - ${{ pin_subpackage('rattler-build-demo', exact=True) }}
❯ rattler-build build -r recipe/recipe.yaml --render-only
 Target platform: osx-arm64

 ╭─ Finding outputs from recipe
 │ Found 2 variants
 │ Build variant: rattler-build-demo-1-win_4616a5c_0
 │
 │ ╭─────────────────┬─────────╮
 │ │ Variant         ┆ Version │
 │ ╞═════════════════╪═════════╡
 │ │ target_platform ┆ noarch  │
 │ ╰─────────────────┴─────────╯
 │ Build variant: rattler-build-demo-subpackage-1-win_b28fc4d_0
 │
 │ ╭────────────────────┬─────────────────╮
 │ │ Variant            ┆ Version         │
 │ ╞════════════════════╪═════════════════╡
 │ │ rattler-build-demo ┆ 1 win_4616a5c_0 │
 │ │ target_platform    ┆ noarch          │
 │ ╰────────────────────┴─────────────────╯
 │
 ╰─────────────────── (took 0 seconds)

 ╭─ Resolving environments
 │
 │ Finalized run dependencies:
 │ ╭─────────┬──────╮
 │ │ Name    ┆ Spec │
 │ ╞═════════╪══════╡
 │ │ Depends ┆      │
 │ │ __unix  ┆      │
 │ ╰─────────┴──────╯
 │
 ╰─────────────────── (took 0 seconds)

 ╭─ Resolving environments
 │
 │ Finalized run dependencies:
 │ ╭────────────────────┬─────────────────────────╮
 │ │ Name               ┆ Spec                    │
 │ ╞════════════════════╪═════════════════════════╡
 │ │ Depends            ┆                         │
 │ │ rattler-build-demo ┆ ==1 unix_4616a5c_0 (PS) │
 │ ╰────────────────────┴─────────────────────────╯
 │
 ╰─────────────────── (took 0 seconds)
# ...

from rattler-build.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.