-
Notifications
You must be signed in to change notification settings - Fork 3
114 lines (113 loc) · 3.54 KB
/
c.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
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
name: github-actions-c
on:
pull_request:
branches: ['*']
push:
branches: [master]
jobs:
Archlinux:
runs-on: ubuntu-latest
steps:
- name: Checks out the repository
uses: actions/checkout@v2
- name: Starts docker-compose
run: DISTRO=archlinux docker-compose up -d
- name: Sleep
uses: jakejarvis/wait-action@master
with:
time: '20s'
- name: Build and test
run: CI=1 RELEASE=1 ./scripts/build-docker.sh
Debian:
runs-on: ubuntu-latest
steps:
- name: Checks out the repository
uses: actions/checkout@v2
- name: Starts docker-compose
run: DISTRO=debian docker-compose up -d
- name: Sleep
uses: jakejarvis/wait-action@master
with:
time: '20s'
- name: Build and test
run: CI=1 RELEASE=1 ./scripts/build-docker.sh
Fedora:
runs-on: ubuntu-latest
steps:
- name: Checks out the repository
uses: actions/checkout@v2
- name: Starts docker-compose
run: DISTRO=fedora docker-compose up -d
- name: Sleep
uses: jakejarvis/wait-action@master
with:
time: '20s'
- name: Build and test
run: CI=1 RELEASE=1 ./scripts/build-docker.sh
Ubuntu:
runs-on: ubuntu-latest
steps:
- name: Checks out the repository
uses: actions/checkout@v2
- name: Starts docker-compose
run: DISTRO=ubuntu docker-compose up -d
- name: Sleep
uses: jakejarvis/wait-action@master
with:
time: '20s'
- name: Build and test
run: CI=1 RELEASE=1 ./scripts/build-docker.sh
UbuntuLTS:
runs-on: ubuntu-latest
steps:
- name: Checks out the repository
uses: actions/checkout@v2
- name: Starts docker-compose
run: DISTRO=ubuntu-lts docker-compose up -d
- name: Sleep
uses: jakejarvis/wait-action@master
with:
time: '20s'
- name: Build and test
run: CI=1 RELEASE=1 ./scripts/build-docker.sh
UnixSocket:
runs-on: ubuntu-latest
steps:
- name: Checks out the repository
uses: actions/checkout@v2
- name: Starts docker-compose
run: DISTRO=unix_socket docker-compose -f docker/docker-compose-unix-socket.yml up -d
- name: Sleep
uses: jakejarvis/wait-action@master
with:
time: '20s'
- name: Build and test
run: CI=1 CONFIG_FILE=libnss-maria.conf DOCKERCFILE=docker/docker-compose-unix-socket.yml
EXAMPLE_SET=unix_socket RELEASE=1 ./scripts/build-docker.sh
CustomClientConfigSSL:
runs-on: ubuntu-latest
steps:
- name: Checks out the repository
uses: actions/checkout@v2
- name: Starts docker-compose
run: DISTRO=unix_socket docker-compose -f docker/docker-compose-ssl-server.yml up -d
- name: Sleep
uses: jakejarvis/wait-action@master
with:
time: '20s'
- name: Build and test
run: CI=1 CLIENT_FILE=client.cnf DOCKERCFILE=docker/docker-compose-ssl-server.yml EXAMPLE_SET=ssl
RELEASE=1 TEST_USE_SSL=1 ./scripts/build-docker.sh
Mysql:
runs-on: ubuntu-latest
steps:
- name: Checks out the repository
uses: actions/checkout@v2
- name: Starts docker-compose
run: docker-compose -f docker/docker-compose-mysql.yml up -d
- name: Sleep
uses: jakejarvis/wait-action@master
with:
time: '20s'
- name: Build and test
run: CI=1 RELEASE=1 DOCKERCFILE=docker/docker-compose-mysql.yml ./scripts/build-docker.sh