Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update v4 CI config #459

Merged
merged 1 commit into from
Jan 3, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 17 additions & 22 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,47 +8,42 @@ jobs:
matrix:
include:
- os: ubuntu-20.04
client: "8.0"
server: "8.0"
- os: ubuntu-20.04
client: "8.0"
server: "8.1"
- os: ubuntu-22.04
client: "8.1"
server: "8.1"
- os: ubuntu-22.04
client: "8.1"
server: "8.0"
- os: ubuntu-24.04
runs-on: ${{ matrix.os }}
services:
mysql:
image: mysql:${{ matrix.server }}
image: container-registry.oracle.com/mysql/community-server:8.0
env:
MYSQL_ALLOW_EMPTY_PASSWORD: yes
MYSQL_ROOT_HOST: "%"
MYSQL_DATABASE: test
ports:
- 3306:3306
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: "Setup generic dependencies"
run: |
sudo apt update
sudo apt install -y gcc make libdbi-perl libdevel-checklib-perl libtest-deep-perl wget lsb-release gnupg
- if: matrix.client == '8.0'
run: |
sudo apt install -y \
gcc \
gnupg \
libdbi-perl \
libdevel-checklib-perl \
libtest-deep-perl \
libtest-pod-perl \
lsb-release \
make \
wget
- run: |
sudo debconf-set-selections <<EOF
mysql-apt-config mysql-apt-config/select-server select mysql-8.0
EOF
- if: matrix.client == '8.1'
run: |
sudo debconf-set-selections <<EOF
mysql-apt-config mysql-apt-config/select-server select mysql-innovation
EOF
- name: "Setup mysql libs"
run: |
wget https://dev.mysql.com/get/mysql-apt-config_0.8.26-1_all.deb
DEBIAN_FRONTEND="noninteractive" sudo dpkg -i mysql-apt-config_0.8.26-1_all.deb
wget https://dev.mysql.com/get/mysql-apt-config_0.8.30-1_all.deb
DEBIAN_FRONTEND="noninteractive" sudo dpkg -i mysql-apt-config_0.8.30-1_all.deb
sudo apt update
sudo apt install -y libmysqlclient-dev
- name: "Run build"
Expand Down
Loading