diff --git a/.github/workflows/ci-linux.yml b/.github/workflows/ci-linux.yml index 8a36af6024..a7ce0b4a5f 100644 --- a/.github/workflows/ci-linux.yml +++ b/.github/workflows/ci-linux.yml @@ -196,6 +196,17 @@ jobs: cat config.mk cd test make -j ${{env.proc_num}} + - name: install mysql-server + run: | + sudo apt-get update + sudo apt-get install -y mysql-server + # The distro packages mysqld under /usr/sbin; expose it on PATH so + # the handshake integration test's `which mysqld` probe finds it. + # The test spins up its own throwaway instance, so stop the system + # service to free the default port. + sudo ln -sf /usr/sbin/mysqld /usr/local/bin/mysqld + sudo service mysql stop || true + mysqld --version - name: run tests run: | cd test @@ -214,6 +225,17 @@ jobs: cat config.mk cd test make NEED_GPERFTOOLS=0 -j ${{env.proc_num}} + - name: install mysql-server + run: | + sudo apt-get update + sudo apt-get install -y mysql-server + # The distro packages mysqld under /usr/sbin; expose it on PATH so + # the handshake integration test's `which mysqld` probe finds it. + # The test spins up its own throwaway instance, so stop the system + # service to free the default port. + sudo ln -sf /usr/sbin/mysqld /usr/local/bin/mysqld + sudo service mysql stop || true + mysqld --version - name: run tests run: | cd test