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