blob: e61b8de95ff9d21fe499eca5f591edb26a78ebf7 (
plain)
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
|
parameters:
configurationName: ''
configurationParameters: ''
runTestsParameters: ''
timeoutInMinutes: 60
jobs:
- job: ${{ parameters.configurationName }}
timeoutInMinutes: ${{ parameters.timeoutInMinutes }}
pool:
vmImage: 'ubuntu-20.04'
steps:
- script: |
sudo apt-get update -y | true
sudo apt install bison re2c
displayName: 'APT'
- script: |
set -o
sudo service mysql start
mysql -uroot -proot -e "CREATE DATABASE IF NOT EXISTS test"
# Ensure local_infile tests can run.
mysql -uroot -proot -e "SET GLOBAL local_infile = true"
displayName: 'Setup MySQL server'
# Does not support caching_sha2_auth :(
#- template: libmysqlclient_test.yml
# parameters:
# configurationName: ${{ parameters.configurationName }} - MySQL 5.6.49
# libmysql: mysql-5.6.49-linux-glibc2.12-x86_64.tar.gz
- template: libmysqlclient_test.yml
parameters:
configurationName: ${{ parameters.configurationName }} - MySQL 5.7.31
libmysql: mysql-5.7.31-linux-glibc2.12-x86_64.tar.gz
- template: libmysqlclient_test.yml
parameters:
configurationName: ${{ parameters.configurationName }} - MySQL 8.0.21
libmysql: mysql-8.0.21-linux-glibc2.12-x86_64.tar.xz
configurationParameters: ${{ parameters.configurationParameters }} --enable-werror
|