mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
dotnet.microsoft.com (#2661)
* dotnet.microsoft.com * linux * bin/dotnet * DOTNET_SYSTEM_GLOBALIZATION_USENLS * only darwin * comment linux env * simpler script --------- Co-authored-by: Jacob Heider <jacob@tea.xyz>
This commit is contained in:
parent
fd13045796
commit
d2db2471f5
44
projects/dotnet.microsoft.com/package.yml
Normal file
44
projects/dotnet.microsoft.com/package.yml
Normal file
|
@ -0,0 +1,44 @@
|
|||
distributable:
|
||||
url: https://github.com/dotnet/sdk/archive/v{{version}}.tar.gz
|
||||
strip-components: 1
|
||||
|
||||
versions:
|
||||
#FIXME: use public versions if possible
|
||||
#github: dotnet/sdk/tags
|
||||
- 7.0.306
|
||||
|
||||
warnings:
|
||||
- vendored
|
||||
|
||||
platforms:
|
||||
darwin
|
||||
# linux require ICU
|
||||
|
||||
runtime:
|
||||
env:
|
||||
DOTNET_ROOT: "{{prefix}}"
|
||||
|
||||
build:
|
||||
dependencies:
|
||||
curl.se: '*'
|
||||
working-directory: ${{prefix}}
|
||||
script:
|
||||
- curl -L "$LINK" | tar zxf -
|
||||
- run: ln -s ../dotnet ./dotnet
|
||||
working-directory: "{{prefix}}/bin"
|
||||
env:
|
||||
darwin/aarch64:
|
||||
LINK: https://download.visualstudio.microsoft.com/download/pr/0e57f35a-00e6-49ab-aa75-7ae6711f0a8e/f28c04285b8bfd3f975731a186e23c23/dotnet-sdk-7.0.306-osx-arm64.tar.gz
|
||||
darwin/x86-64:
|
||||
LINK: https://download.visualstudio.microsoft.com/download/pr/3d615bde-bfce-4ee0-a3b9-73dc4ea5a472/907ac9c03d971c7577ce60932456b3e3/dotnet-sdk-7.0.306-osx-x64.tar.gz
|
||||
#linux/aarch64:
|
||||
# LINK: https://download.visualstudio.microsoft.com/download/pr/fb648e91-a4b9-4fc1-b6a3-acd293668e75/ccdc8a107bdb8b8f59ae6bb66ebecb6e/dotnet-sdk-7.0.306-linux-arm64.tar.gz
|
||||
#linux/x86-64:
|
||||
# LINK: https://download.visualstudio.microsoft.com/download/pr/0be7a87e-3a3f-4500-8301-49ccd6f24887/e9e36f35dbaf6625fec3e18f5c2b613f/dotnet-sdk-7.0.306-linux-x64.tar.gz
|
||||
|
||||
provides:
|
||||
- bin/dotnet
|
||||
|
||||
test:
|
||||
script:
|
||||
- dotnet --version | grep {{version}}
|
Loading…
Reference in a new issue