Skip to content

Commit

Permalink
fix(CI): another shot at mysql
Browse files Browse the repository at this point in the history
  • Loading branch information
aleks-f committed May 6, 2022
1 parent ad9a553 commit 7128b15
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/ci.yml
Expand Up @@ -3,13 +3,20 @@ on: [push]
jobs:
linux-gcc-make:
runs-on: ubuntu-20.04
services:
mysql:
image: mysql:latest
env:
MYSQL_ALLOW_EMPTY_PASSWORD: yes
MYSQL_USER: pocotest
MYSQL_PASSWORD: pocotest
MYSQL_DATABASE: pocotest
ports:
- 3306:3306
steps:
- uses: actions/checkout@v2
- run: sudo apt update && sudo apt install libssl-dev unixodbc-dev redis-server mariadb-server libmariadb-dev
- run: sudo apt update && sudo apt install libssl-dev unixodbc-dev redis-server libmysqlclient-dev
- run: ./configure --everything --omit=PDF && make all -s -j4 && sudo make install
- run: sudo Data/MySQL/testsuite/run-db-setup.sh
- run: sudo ln -s /usr/include/mariadb/ /usr/include/mysql
- run: sudo ln -s /usr/lib/x86_64-linux-gnu/libmariadb.so /usr/lib/libmysqlclient.so
- run: >-
sudo -s
EXCLUDE_TESTS="Data/ODBC Data/PostgreSQL MongoDB"
Expand Down

0 comments on commit 7128b15

Please sign in to comment.