-
Notifications
You must be signed in to change notification settings - Fork 55
/
azure-pipelines.yml
67 lines (62 loc) · 2.36 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
trigger:
- master
pr:
- master
jobs:
- job: x64
pool:
vmImage: 'ubuntu-latest'
steps:
- bash: |
set -ex
docker run -v $PWD:/t amd64/debian:unstable-slim /bin/bash -c "set -ex; apt-get update; apt-get install -y libedit-dev nasm make gcc; cd /t; CC=gcc make test"
- script:
sudo make clean
- bash: |
set -ex
docker run -v $PWD:/t amd64/debian:unstable-slim /bin/bash -c "set -ex; apt-get update; apt-get install -y libedit-dev nasm make clang; cd /t; CC=clang make test"
- job: arm64
pool:
vmImage: 'ubuntu-latest'
steps:
- bash: |
set -ex
docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
- bash: |
set -ex
docker run --rm -v $PWD:/t arm64v8/debian:unstable-slim /bin/bash -c "set -ex; apt-get update; apt-get install -y libedit-dev nasm make gcc; cd /t; CC=gcc make"
- script:
sudo make clean
- bash: |
set -ex
docker run --rm -v $PWD:/t arm64v8/debian:unstable-slim /bin/bash -c "set -ex; apt-get update; apt-get install -y libedit-dev nasm make clang; cd /t; CC=clang make"
- job: armv7l
pool:
vmImage: 'ubuntu-latest'
steps:
- bash: |
set -ex
docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
- bash: |
set -ex
docker run --rm -v $PWD:/t arm32v7/debian:unstable-slim /bin/bash -c "set -ex; apt-get update; apt-get install -y libedit-dev nasm make gcc; cd /t; CC=gcc make"
- script:
sudo make clean
- bash: |
set -ex
docker run --rm -v $PWD:/t arm32v7/debian:unstable-slim /bin/bash -c "set -ex; apt-get update; apt-get install -y libedit-dev nasm make clang; cd /t; CC=clang make"
- job: i386
pool:
vmImage: 'ubuntu-latest'
steps:
- bash: |
set -ex
docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
- bash: |
set -ex
docker run --rm -v $PWD:/t i386/debian:unstable-slim /bin/bash -c "set -ex; apt-get update; apt-get install -y libedit-dev nasm make gcc; cd /t; ARCH=x86 CC=gcc make test"
- script:
sudo make clean
- bash: |
set -ex
docker run --rm -v $PWD:/t i386/debian:unstable-slim /bin/bash -c "set -ex; apt-get update; apt-get install -y libedit-dev nasm make clang; cd /t; ARCH=x86 CC=clang make test"