File tree Expand file tree Collapse file tree 1 file changed +17
-22
lines changed Expand file tree Collapse file tree 1 file changed +17
-22
lines changed Original file line number Diff line number Diff line change 8
8
matrix :
9
9
include :
10
10
- os : ubuntu-20.04
11
- client : " 8.0"
12
- server : " 8.0"
13
- - os : ubuntu-20.04
14
- client : " 8.0"
15
- server : " 8.1"
16
- - os : ubuntu-22.04
17
- client : " 8.1"
18
- server : " 8.1"
19
11
- os : ubuntu-22.04
20
- client : " 8.1"
21
- server : " 8.0"
12
+ - os : ubuntu-24.04
22
13
runs-on : ${{ matrix.os }}
23
14
services :
24
15
mysql :
25
- image : mysql:${{ matrix.server }}
16
+ image : container-registry.oracle.com/ mysql/community-server:8.0
26
17
env :
27
18
MYSQL_ALLOW_EMPTY_PASSWORD : yes
19
+ MYSQL_ROOT_HOST : " %"
28
20
MYSQL_DATABASE : test
29
21
ports :
30
22
- 3306:3306
31
23
options : --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
32
24
steps :
33
- - uses : actions/checkout@v3
25
+ - uses : actions/checkout@v4
34
26
- name : " Setup generic dependencies"
35
27
run : |
36
28
sudo apt update
37
- sudo apt install -y gcc make libdbi-perl libdevel-checklib-perl libtest-deep-perl wget lsb-release gnupg
38
- - if : matrix.client == '8.0'
39
- run : |
29
+ sudo apt install -y \
30
+ gcc \
31
+ gnupg \
32
+ libdbi-perl \
33
+ libdevel-checklib-perl \
34
+ libtest-deep-perl \
35
+ libtest-pod-perl \
36
+ lsb-release \
37
+ make \
38
+ wget
39
+ - run : |
40
40
sudo debconf-set-selections <<EOF
41
41
mysql-apt-config mysql-apt-config/select-server select mysql-8.0
42
42
EOF
43
- - if : matrix.client == '8.1'
44
- run : |
45
- sudo debconf-set-selections <<EOF
46
- mysql-apt-config mysql-apt-config/select-server select mysql-innovation
47
- EOF
48
43
- name : " Setup mysql libs"
49
44
run : |
50
- wget https://dev.mysql.com/get/mysql-apt-config_0.8.26 -1_all.deb
51
- DEBIAN_FRONTEND="noninteractive" sudo dpkg -i mysql-apt-config_0.8.26 -1_all.deb
45
+ wget https://dev.mysql.com/get/mysql-apt-config_0.8.30 -1_all.deb
46
+ DEBIAN_FRONTEND="noninteractive" sudo dpkg -i mysql-apt-config_0.8.30 -1_all.deb
52
47
sudo apt update
53
48
sudo apt install -y libmysqlclient-dev
54
49
- name : " Run build"
You can’t perform that action at this time.
0 commit comments