-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
117 lines (109 loc) · 3.27 KB
/
Copy pathdocker-compose.yaml
File metadata and controls
117 lines (109 loc) · 3.27 KB
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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
services:
# Alpine Linux (32-bit)
alpine32:
image: alpine:latest
platform: linux/386
volumes:
- .:/workspace
working_dir: /workspace
command: |
sh -c "
apk add --no-cache cmake make gcc g++ musl-dev gcompat libc6-compat dos2unix file &&
cd scripts &&
dos2unix run_tests.sh &&
chmod +x run_tests.sh &&
/bin/sh run_tests.sh --arch x86
"
# Alpine Linux (64-bit)
alpine64:
image: alpine:latest
platform: linux/amd64
volumes:
- .:/workspace
working_dir: /workspace
command: |
sh -c "
apk add --no-cache cmake make gcc g++ musl-dev gcompat libc6-compat dos2unix file &&
cd scripts &&
dos2unix run_tests.sh &&
chmod +x run_tests.sh &&
/bin/sh run_tests.sh --arch x64
"
# Arch Linux (64-bit)
arch64:
image: archlinux:latest
platform: linux/amd64
volumes:
- .:/workspace
working_dir: /workspace
command: |
sh -c "
pacman -Syu --noconfirm &&
pacman -S --noconfirm cmake base-devel dos2unix &&
cd scripts &&
dos2unix run_tests.sh &&
chmod +x run_tests.sh &&
cd .. &&
/bin/sh scripts/run_tests.sh --arch x64
"
# Debian (32-bit)
debian32:
image: debian:latest
platform: linux/386
volumes:
- .:/workspace
working_dir: /workspace
command: |
sh -c "
dpkg --add-architecture i386 &&
apt-get update &&
apt-get install -y cmake build-essential gcc-multilib g++-multilib libc6-dev-i386 &&
chmod +x ./scripts/run_tests.sh && export ARCH=x86 && ./scripts/run_tests.sh --arch x86
"
# Debian (64-bit)
debian64:
image: debian:latest
platform: linux/amd64
volumes:
- .:/workspace
working_dir: /workspace
command: |
sh -c "
apt-get update &&
apt-get install -y cmake build-essential &&
chmod +x ./scripts/run_tests.sh &&
export ARCH=x64 &&
./scripts/run_tests.sh --arch x64
"
# Fedora (32-bit)
fedora32:
image: fedora:latest
platform: linux/386
volumes:
- .:/workspace
working_dir: /workspace
command: sh -c "dnf install -y cmake gcc gcc-c++ make glibc-devel.i686 libstdc++-devel.i686 && chmod +x ./scripts/run_tests.sh && export ARCH=x86 && ./scripts/run_tests.sh --arch x86"
# Fedora (64-bit)
fedora64:
image: fedora:latest
platform: linux/amd64
volumes:
- .:/workspace
working_dir: /workspace
command: sh -c "dnf install -y cmake gcc gcc-c++ make && chmod +x ./scripts/run_tests.sh && export ARCH=x64 && ./scripts/run_tests.sh --arch x64"
# Ubuntu (32-bit)
ubuntu32:
image: ubuntu:latest
platform: linux/386
volumes:
- .:/workspace
working_dir: /workspace
command: sh -c "dpkg --add-architecture i386 && apt-get update && apt-get install -y cmake build-essential gcc-multilib g++-multilib libc6-dev-i386 && chmod +x ./scripts/run_tests.sh && export ARCH=x86 && ./scripts/run_tests.sh --arch x86"
# Ubuntu (64-bit)
ubuntu64:
image: ubuntu:latest
platform: linux/amd64
volumes:
- .:/workspace
working_dir: /workspace
command: sh -c "apt-get update && apt-get install -y cmake build-essential && chmod +x ./scripts/run_tests.sh && export ARCH=x64 && ./scripts/run_tests.sh --arch x64"