mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
+julialang.org (#3754)
* +julialang.org * fix issues * try fix * I've no idea how to fix it * remove sys.dylib.dSYM --------- Co-authored-by: Jacob Heider <jacob@pkgx.dev>
This commit is contained in:
parent
c1ea3edddd
commit
2ddea318b8
1
projects/julialang.org/fixture.jl
Normal file
1
projects/julialang.org/fixture.jl
Normal file
|
@ -0,0 +1 @@
|
||||||
|
println("Hello, World!")
|
48
projects/julialang.org/package.yml
Normal file
48
projects/julialang.org/package.yml
Normal file
|
@ -0,0 +1,48 @@
|
||||||
|
distributable: ~
|
||||||
|
|
||||||
|
warnings:
|
||||||
|
- vendored
|
||||||
|
|
||||||
|
versions:
|
||||||
|
github: JuliaLang/julia/tags
|
||||||
|
strip: /v/
|
||||||
|
|
||||||
|
interprets:
|
||||||
|
extensions: jl
|
||||||
|
args: [julia]
|
||||||
|
|
||||||
|
build:
|
||||||
|
dependencies:
|
||||||
|
curl.se: '*'
|
||||||
|
gnu.org/tar: '*'
|
||||||
|
working-directory: tmp
|
||||||
|
script:
|
||||||
|
- curl -L "https://julialang-s3.julialang.org/bin/$PLATFORM/$ARCH/{{version.major}}.{{version.minor}}/julia-{{version.raw}}-$TRIPLE.tar.gz" |
|
||||||
|
tar zxvf - --strip-components=1
|
||||||
|
- mkdir -p "{{prefix}}"
|
||||||
|
- cp -av ./* {{prefix}}/
|
||||||
|
- run: rm -rf sys.dylib.dSYM
|
||||||
|
if: darwin
|
||||||
|
working-directory: ${{prefix}}/lib/julia
|
||||||
|
env:
|
||||||
|
linux/x86-64:
|
||||||
|
PLATFORM: 'linux'
|
||||||
|
ARCH: 'x64'
|
||||||
|
TRIPLE: 'linux-x86_64'
|
||||||
|
linux/aarch64:
|
||||||
|
PLATFORM: 'linux'
|
||||||
|
ARCH: 'aarch64'
|
||||||
|
TRIPLE: 'linux-aarch64'
|
||||||
|
darwin/x86-64:
|
||||||
|
PLATFORM: 'mac'
|
||||||
|
ARCH: 'x64'
|
||||||
|
TRIPLE: 'mac64'
|
||||||
|
darwin/aarch64:
|
||||||
|
PLATFORM: 'mac'
|
||||||
|
ARCH: 'aarch64'
|
||||||
|
TRIPLE: 'macaarch64'
|
||||||
|
|
||||||
|
test: test "$(julia fixture.jl)" = "Hello, World!"
|
||||||
|
|
||||||
|
provides:
|
||||||
|
- bin/julia
|
Loading…
Reference in a new issue