From 87d3172522d845d2327be7bcdfa0df17ff4fdcc6 Mon Sep 17 00:00:00 2001 From: bas524 Date: Wed, 15 Feb 2023 16:57:32 +0300 Subject: [PATCH] try to fix bug with unixodbc version in linux-builds [read here](https://github.com/microsoft/linux-package-repositories/issues/36) --- .github/workflows/ci.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 05dabfde32..7a3245869e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,7 +15,7 @@ jobs: - 3306:3306 steps: - uses: actions/checkout@v2 - - run: sudo apt -y update && sudo apt -y install libssl-dev unixodbc-dev=2.3.7 redis-server libmysqlclient-dev + - run: sudo apt -y update && sudo apt -y install libssl-dev unixodbc-dev=2.3.7 unixodbc=2.3.7 odbcinst1debian2=2.3.7 odbcinst=2.3.7 redis-server libmysqlclient-dev - run: ./configure --everything --omit=PDF && make all -s -j4 && sudo make install - run: >- sudo -s @@ -26,7 +26,7 @@ jobs: runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v2 - - run: sudo apt -y update && sudo apt -y install libssl-dev unixodbc-dev=2.3.7 redis-server libmysqlclient-dev + - run: sudo apt -y update && sudo apt -y install libssl-dev unixodbc-dev=2.3.7 unixodbc=2.3.7 odbcinst1debian2=2.3.7 odbcinst=2.3.7 redis-server libmysqlclient-dev - run: ./configure --config=Linux-c++20 --everything --omit=PDF && make all -s -j4 && sudo make install - run: >- sudo -s @@ -47,7 +47,7 @@ jobs: - 3306:3306 steps: - uses: actions/checkout@v2 - - run: sudo apt -y update && sudo apt -y install libssl-dev unixodbc-dev=2.3.7 libmysqlclient-dev redis-server + - run: sudo apt -y update && sudo apt -y install libssl-dev unixodbc-dev=2.3.7 unixodbc=2.3.7 odbcinst1debian2=2.3.7 odbcinst=2.3.7 libmysqlclient-dev redis-server - run: ./configure --everything --no-samples --omit=PDF && make all -s -j4 SANITIZEFLAGS=-fsanitize=address && sudo make install - run: >- sudo -s @@ -58,7 +58,7 @@ jobs: runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v2 - - run: sudo apt -y update && sudo apt -y install libssl-dev unixodbc-dev=2.3.7 libmysqlclient-dev redis-server + - run: sudo apt -y update && sudo apt -y install libssl-dev unixodbc-dev=2.3.7 unixodbc=2.3.7 odbcinst1debian2=2.3.7 odbcinst=2.3.7 libmysqlclient-dev redis-server - run: ./configure --everything --no-samples --omit=PDF --no-soo && make all -s -j4 SANITIZEFLAGS=-fsanitize=address && sudo make install - run: >- sudo -s @@ -69,7 +69,7 @@ jobs: runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v2 - - run: sudo apt -y update && sudo apt -y install libssl-dev unixodbc-dev=2.3.7 libmysqlclient-dev redis-server + - run: sudo apt -y update && sudo apt -y install libssl-dev unixodbc-dev=2.3.7 unixodbc=2.3.7 odbcinst1debian2=2.3.7 odbcinst=2.3.7 libmysqlclient-dev redis-server - run: ./configure --everything --no-samples --omit=PDF && make all -s -j4 SANITIZEFLAGS=-fsanitize=undefined && sudo make install - run: >- sudo -s @@ -80,7 +80,7 @@ jobs: runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v2 - - run: sudo apt -y update && sudo apt -y install libssl-dev unixodbc-dev=2.3.7 libmysqlclient-dev redis-server + - run: sudo apt -y update && sudo apt -y install libssl-dev unixodbc-dev=2.3.7 unixodbc=2.3.7 odbcinst1debian2=2.3.7 odbcinst=2.3.7 libmysqlclient-dev redis-server - run: ./configure --everything --no-samples --omit=CppParser,Encodings,Data/MySQL,Data/ODBC,Data/PostgreSQL,MongoDB,PageCompiler,PDF,PocoDoc,ProGen,Redis,SevenZip && make all -s -j4 SANITIZEFLAGS=-fsanitize=thread && sudo make install - run: >- sudo -s @@ -90,7 +90,7 @@ jobs: runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v2 - - run: sudo apt -y update && sudo apt -y install cmake ninja-build libssl-dev unixodbc-dev=2.3.7 libmysqlclient-dev redis-server + - run: sudo apt -y update && sudo apt -y install cmake ninja-build libssl-dev unixodbc-dev=2.3.7 unixodbc=2.3.7 odbcinst1debian2=2.3.7 odbcinst=2.3.7 libmysqlclient-dev redis-server - run: cmake -H. -Bcmake-build -GNinja -DENABLE_PDF=OFF -DENABLE_TESTS=ON && cmake --build cmake-build --target all - run: >- cd cmake-build &&