-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathazure-pipelines.yml
86 lines (75 loc) · 2.85 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
# 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
trigger:
batch: true
branches:
include:
- master
- staging
- trying
jobs:
# - job: Linux
# pool:
# vmImage: 'Ubuntu 16.04'
# strategy:
# matrix:
# Julia 1.1:
# JULIA_VERSION: '1.1.1'
# steps:
# - script: |
# wget -nv https://julialang-s3.julialang.org/bin/linux/x64/1.1/julia-$(JULIA_VERSION)-linux-x86_64.tar.gz
# tar zxf julia-$(JULIA_VERSION)-linux-x86_64.tar.gz
# displayName: 'Install Julia'
# - script: |
# sudo apt-get update
# sudo apt-get install -y libgfortran3 libglu1 libxcursor1 libxrender1 libxft2 libxinerama1
# displayName: 'Install dependencies for libgmsh'
# - script: |
# ./julia-$(JULIA_VERSION)/bin/julia --project=@. -e 'using InteractiveUtils; versioninfo()'
# ./julia-$(JULIA_VERSION)/bin/julia --project=@. -e 'using Pkg; Pkg.instantiate()'
# ./julia-$(JULIA_VERSION)/bin/julia --project=@. -e 'using Pkg; Pkg.test("Quaycle")'
# displayName: 'Run the tests'
#
# - job: macOS
# pool:
# vmImage: 'macOS-10.13'
# strategy:
# matrix:
# Julia 1.1:
# JULIA_VERSION: '1.1.1'
# JULIA_VERSION_SHORT: '1.1'
# steps:
# - script: |
# wget -nv https://julialang-s3.julialang.org/bin/mac/x64/1.1/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: 'Install Julia'
# - script: |
# ./julia --project=@. -e 'using InteractiveUtils;versioninfo()'
# ./julia --project=@. -e 'using Pkg; Pkg.instantiate()'
# ./julia --project=@. -e 'using Pkg; Pkg.test("Quaycle")'
# displayName: 'Run the tests'
- job: Windows
timeoutInMinutes: 0
pool:
vmImage: 'windows-latest'
strategy:
matrix:
Julia 1.4:
JULIA_VERSION: '1.4'
steps:
- checkout: self
submodules: true
- powershell: |
wget https://julialang-s3.julialang.org/bin/winnt/x64/$(JULIA_VERSION)/julia-$(JULIA_VERSION)-latest-win64.exe -OutFile julia-$(JULIA_VERSION)-latest-win64.exe
displayName: 'Download Julia'
- powershell: |
Start-Process -FilePath .\julia-$(JULIA_VERSION)-latest-win64.exe -ArgumentList "/VERYSILENT /DIR=C:\julia-$(JULIA_VERSION)" -NoNewWindow -Wait
displayName: 'Extract Julia (recent versions)'
- bash: |
C:\\julia-$(JULIA_VERSION)\\bin\\julia.exe -e 'using InteractiveUtils; versioninfo()'
C:\\julia-$(JULIA_VERSION)\\bin\\julia.exe --project=@. -e 'using Pkg; Pkg.instantiate()'
C:\\julia-$(JULIA_VERSION)\\bin\\julia.exe --project=@. -e 'using Pkg; Pkg.test()'
displayName: 'Run the tests'