~adigitoleo/PlateMotionRequests.jl

PlateMotionRequests.jl/.build.yml -rw-r--r-- 1.1 KiB
3814cf69 — adigitoleo release: Release v3.1.1 5 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
image: ubuntu/lts
tasks:
    - prepare: |
        cd PlateMotionRequests.jl
        git name-rev HEAD|grep -q -e 'main' -e 'next' -e 'dev' || complete-build
        JULIA_VERSION='1.7.3'
        JULIA_VERSION_SHORT='1.7'
        wget "https://julialang-s3.julialang.org/bin/linux/x64/$JULIA_VERSION_SHORT/julia-$JULIA_VERSION-linux-x86_64.tar.gz"
        wget "https://julialang-s3.julialang.org/bin/linux/x64/$JULIA_VERSION_SHORT/julia-$JULIA_VERSION-linux-x86_64.tar.gz.asc"
        wget https://julialang.org/assets/juliareleases.asc
        wget "https://julialang-s3.julialang.org/bin/checksums/julia-$JULIA_VERSION.sha256"
        sha256sum -c --ignore-missing "julia-$JULIA_VERSION.sha256"
        gpg --import juliareleases.asc
        gpg --verify "julia-$JULIA_VERSION-linux-x86_64.tar.gz.asc"
        tar -xf "julia-$JULIA_VERSION-linux-x86_64.tar.gz"
        ln -s "julia-$JULIA_VERSION/bin/julia"
    - build: |
        cd PlateMotionRequests.jl
        ./julia --project -e 'using Pkg; Pkg.instantiate()'
    - test: |
        cd PlateMotionRequests.jl
        ./julia --project test/runtests.jl