forked from vector-of-bool/neo-fun
-
Notifications
You must be signed in to change notification settings - Fork 0
/
azure-pipelines.yml
78 lines (72 loc) · 2.52 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
# Refer: https://aka.ms/yaml
jobs:
- job: win_vs2019
displayName: Windows - VS 2019
pool:
vmImage: windows-2019
steps:
- pwsh: |
iwr https://github.com/vector-of-bool/dds/releases/download/0.1.0-alpha.6/dds-win-x64.exe -OutFile dds.exe
displayName: Download DDS
- script: |
echo Loading VS environment
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\Tools\vsdevcmd" -arch=x64 || exit 1
echo Build
.\dds.exe build -t tools/msvc.jsonc
displayName: Build and Run Unit Tests
- job: linux_gcc10
displayName: Linux - GCC 10
pool:
vmImage: ubuntu-20.04
steps:
- script: sudo apt-get -y update && sudo apt-get -y install g++-10
displayName: Get GCC 10
- script: |
echo Downloading DDS executable
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: Get DDS
- script: ./dds build -t tools/gcc-10.jsonc
displayName: Build and Run Unit Tests
- job: linux_gcc11
displayName: Linux - GCC 11
pool:
vmImage: ubuntu-20.04
steps:
- script: sudo apt-get -y update && sudo apt-get -y install g++-11
displayName: Get GCC 11
- script: |
echo Downloading DDS executable
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: Get DDS
- 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: brew install gcc@10
displayName: Get GCC 10
- script: |
set -eu
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: Get DDS
- 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: brew install gcc@11
displayName: Get GCC 11
- script: |
set -eu
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: Get DDS
- script: ./dds build -t tools/gcc-11.jsonc
displayName: Build and Run Unit Tests