forked from JuliaLinearAlgebra/GenericLinearAlgebra.jl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
azure-pipelines.yml
70 lines (55 loc) · 2.1 KB
/
azure-pipelines.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
# Starter pipeline
# Start with a minimal pipeline that you can customize to build and deploy your code.
# Add steps that build, run tests, deploy, and more:
# https://aka.ms/yaml
jobs:
- job: Linux
pool:
vmImage: 'Ubuntu 16.04'
strategy:
matrix:
Julia 1.0:
JULIA_VERSION: '1.0.1'
steps:
- script: |
wget -nv https://julialang-s3.julialang.org/bin/linux/x64/1.0/julia-$(JULIA_VERSION)-linux-x86_64.tar.gz
tar zxf julia-$(JULIA_VERSION)-linux-x86_64.tar.gz
displayName: 'Download and extract Julia 1.0'
- script: |
./julia-$(JULIA_VERSION)/bin/julia --project=@. -e 'using Pkg; Pkg.instantiate()'
./julia-$(JULIA_VERSION)/bin/julia --project=@. -e 'using Pkg; Pkg.test("GenericLinearAlgebra")'
displayName: 'Run the tests'
- job: macOS
pool:
vmImage: 'macOS-10.13'
strategy:
matrix:
Julia 1.0:
JULIA_VERSION: '1.0.1'
JULIA_VERSION_SHORT: '1.0'
steps:
- script: |
wget -nv https://julialang-s3.julialang.org/bin/mac/x64/1.0/julia-$(JULIA_VERSION)-mac64.dmg
hdiutil attach julia-$(JULIA_VERSION)-mac64.dmg
ln -s /Volumes/Julia-$(JULIA_VERSION)/Julia-$(JULIA_VERSION_SHORT).app/Contents/Resources/julia/bin/julia
displayName: 'Download and extract Julia 1.0'
- script: |
./julia --project=@. -e 'using Pkg; Pkg.instantiate()'
./julia --project=@. -e 'using Pkg; Pkg.test("GenericLinearAlgebra")'
displayName: 'Run the tests'
- job: Windows
pool:
vmImage: 'VS2017-Win2016'
strategy:
matrix:
Julia 1.0:
JULIA_VERSION: '1.0.1'
steps:
- powershell: |
wget https://julialang-s3.julialang.org/bin/winnt/x64/1.0/julia-$(JULIA_VERSION)-win64.exe -OutFile julia-$(JULIA_VERSION)-win64.exe
Start-Process -FilePath .\julia-$(JULIA_VERSION)-win64.exe -ArgumentList "/S /D=C:\julia" -NoNewWindow -Wait
displayName: 'Download and extract Julia 1.0'
- powershell: |
C:\julia\bin\julia --project=@. -e 'using Pkg; Pkg.instantiate()'
C:\julia\bin\julia --project=@. -e 'using Pkg; Pkg.test(\"GenericLinearAlgebra\")'
displayName: 'Run the tests'