From c291fe7eb95d5ae6e5f706af75fc76a47947348a Mon Sep 17 00:00:00 2001 From: Dennis Felsing Date: Thu, 1 Dec 2022 22:40:29 +0100 Subject: [PATCH] Try using default MariaDB server version (fixes #6079) --- .github/workflows/build.yaml | 4 ++-- .github/workflows/codeql-analysis.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 24284e87f..0c4e12248 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -71,7 +71,8 @@ jobs: - name: Prepare Linux (fancy) if: contains(matrix.os, 'ubuntu') && matrix.fancy run: | - sudo apt-get install libmariadbclient-dev libwebsockets-dev mariadb-server-10.3 -y + sudo apt-get install libmariadb-dev libwebsockets-dev mariadb-server -y + sudo systemctl stop mysql sudo rm -rf /var/lib/mysql/ sudo mysql_install_db --user=mysql --datadir=/var/lib/mysql/ cd /usr; sudo mysqld_safe --datadir='/var/lib/mysql/' --no-watch @@ -181,7 +182,6 @@ jobs: - name: Test fancy if: matrix.fancy run: | - find /usr/lib/ -name '*libwebsockets*' cd fancy ${{ matrix.cmake-path }}cmake -E env ${{ matrix.gtest-env }} ${{ matrix.cmake-path }}cmake --build . --config RelWithDebInfo --target run_tests ${{ matrix.build-args }} diff --git a/.github/workflows/codeql-analysis.yaml b/.github/workflows/codeql-analysis.yaml index fb16c70ef..0cc78ba02 100644 --- a/.github/workflows/codeql-analysis.yaml +++ b/.github/workflows/codeql-analysis.yaml @@ -38,7 +38,7 @@ jobs: if: matrix.language == 'cpp' run: | sudo apt-get update -y - sudo apt-get install pkg-config cmake ninja-build libfreetype6-dev libnotify-dev libsdl2-dev libsqlite3-dev libavcodec-dev libavformat-dev libavutil-dev libswresample-dev libswscale-dev libx264-dev libmariadbclient-dev libwebsockets-dev libvulkan-dev glslang-tools spirv-tools -y + sudo apt-get install pkg-config cmake ninja-build libfreetype6-dev libnotify-dev libsdl2-dev libsqlite3-dev libavcodec-dev libavformat-dev libavutil-dev libswresample-dev libswscale-dev libx264-dev libmariadb-dev libwebsockets-dev libvulkan-dev glslang-tools spirv-tools -y # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL