From 99ea25eec31f0c97d6a036b5ef48679023e740f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dani=C3=ABl=20van=20Eeden?= Date: Fri, 3 Jan 2025 14:52:55 +0100 Subject: [PATCH] Update v4 CI config --- .github/workflows/ci.yml | 39 +++++++++++++++++---------------------- 1 file changed, 17 insertions(+), 22 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5a436235..9fcc4d2b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 <