mirror of
https://github.com/ivabus/pantry
synced 2024-11-29 11:45:07 +03:00
37 lines
821 B
YAML
37 lines
821 B
YAML
distributable:
|
|
url: https://github.com/dotnet/sdk/archive/v{{version}}.tar.gz
|
|
strip-components: 1
|
|
|
|
versions:
|
|
github: dotnet/sdk/tags
|
|
strip: /v/
|
|
|
|
warnings:
|
|
- vendored
|
|
|
|
runtime:
|
|
env:
|
|
DOTNET_ROOT: "{{prefix}}"
|
|
dependencies:
|
|
linux:
|
|
unicode.org: '*'
|
|
build:
|
|
dependencies:
|
|
curl.se: '*'
|
|
working-directory: ${{prefix}}
|
|
script:
|
|
- curl -L "https://dotnetcli.azureedge.net/dotnet/Sdk/{{version}}/dotnet-sdk-{{version}}-${PLATFORM}.tar.gz" | tar zxf -
|
|
- run: ln -s ../dotnet ./dotnet
|
|
working-directory: "{{prefix}}/bin"
|
|
env:
|
|
darwin/aarch64: { PLATFORM: osx-arm64 }
|
|
darwin/x86-64: { PLATFORM: osx-x64 }
|
|
linux/aarch64: { PLATFORM: linux-arm64 }
|
|
linux/x86-64: { PLATFORM: linux-x64 }
|
|
|
|
provides:
|
|
- bin/dotnet
|
|
|
|
test:
|
|
script:
|
|
- dotnet --version | grep {{version}}
|