-
Notifications
You must be signed in to change notification settings - Fork 1
/
azure-pipelines.yml
74 lines (68 loc) · 2.33 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
# Refer: https://aka.ms/yaml
jobs:
- job: Windows_MSVC_VS2019
displayName: VS 2019
pool:
vmImage: windows-2019
steps:
- script: |
echo Loading VS environment
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\Tools\vsdevcmd" -arch=x64 || exit 1
echo Executing Build and Tests
pwsh -noni -c iwr https://github.com/vector-of-bool/dds/releases/download/0.1.0-alpha.6/dds-win-x64.exe -OutFile dds.exe || exit 1
.\dds.exe build -t tools/msvc.jsonc
displayName: Build and Run Unit Tests
- job: Linux_GCC10
displayName: Linux GCC 10
pool:
vmImage: ubuntu-18.04
steps:
- script: |
set -eu
sudo apt update -y
sudo apt install -y g++-10
curl -L https://github.com/vector-of-bool/dds/releases/download/0.1.0-alpha.6/dds-linux-x64 -o dds
chmod +x dds
displayName: Prepare System
- script: ./dds build -t tools/gcc-10.jsonc
displayName: Build and Run Unit Tests
- job: Linux_GCC11
displayName: Linux GCC 11
pool:
vmImage: ubuntu-18.04
steps:
- script: |
set -eu
sudo apt update -y
sudo apt install -y g++-11
curl -L https://github.com/vector-of-bool/dds/releases/download/0.1.0-alpha.6/dds-linux-x64 -o dds
chmod +x dds
displayName: Prepare System
- script: ./dds build -t tools/gcc-11.jsonc
displayName: Build and Run Unit Tests
- job: macOS_GCC10
displayName: macOS GCC 10
pool:
vmImage: macOS-10.15
steps:
- script: |
set -eu
brew install gcc@10
curl -L https://github.com/vector-of-bool/dds/releases/download/0.1.0-alpha.6/dds-macos-x64 -o dds
chmod +x dds
displayName: Prepare System
- script: ./dds build -t tools/gcc-10.jsonc
displayName: Build and Run Unit Tests
- job: macOS_GCC11
displayName: macOS GCC 11
pool:
vmImage: macOS-10.15
steps:
- script: |
set -eu
brew install gcc@11
curl -L https://github.com/vector-of-bool/dds/releases/download/0.1.0-alpha.6/dds-macos-x64 -o dds
chmod +x dds
displayName: Prepare System
- script: ./dds build -t tools/gcc-11.jsonc
displayName: Build and Run Unit Tests