From 28a64d4993f1fe7ae173a1d9b913e9168a326915 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Dvo=C5=99=C3=A1k?= Date: Sun, 29 Oct 2023 17:05:44 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=9A=20Set=20correct=20LD=5FLIBRARY=5FP?= =?UTF-8?q?ATH?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/node.js.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 16e2b1f..6a47d25 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -31,13 +31,13 @@ jobs: - name: Install Firebird run: | - sudo apt-get install libtommath1 libncurses5 + sudo apt-get install libtommath1 libncurses5 musl-dev gcc sudo ln -sf /usr/lib/x86_64-linux-gnu/libtommath.so.1 /usr/lib/x86_64-linux-gnu/libtommath.so.0 - wget -nv -O Firebird-3.0.10.33601-0.amd64.tar.gz "https://github.com/FirebirdSQL/firebird/releases/download/v3.0.10/Firebird-3.0.10.33601-0.amd64.tar.gz" - tar xzvf Firebird-3.0.10.33601-0.amd64.tar.gz - (cd Firebird-3.0.10.33601-0.amd64; sudo ./install.sh -silent) + sudo ln -s /usr/lib/x86_64-linux-musl/libc.so /lib/libc.musl-x86_64.so.1 + wget -nv -O Firebird-3.0.10-33601-x86_64.pkg "https://github.com/FirebirdSQL/firebird/releases/download/v3.0.10/Firebird-3.0.10-33601-x86_64.pkg" + sudo installer -verbose -pkg "Firebird-3.0.10-33601-x86_64.pkg" -target / sudo usermod -a -G firebird `whoami` - echo 'WireCrypt = Enabled' | sudo tee -a /opt/firebird/firebird.conf > /dev/null + echo 'WireCrypt = Enabled' | sudo tee -a /etc/firebird/3.0/firebird.conf > /dev/null sudo killall firebird sudo systemctl start firebird-superserver.service sudo chown root:firebird /opt/firebird/SYSDBA.password @@ -51,5 +51,6 @@ jobs: sudo mkdir coverage sudo chown -R firebird:firebird coverage sudo chmod -R 777 coverage + export LD_LIBRARY_PATH=/usr/lib64 sg firebird -c "yarn global add env-cmd; env-cmd -f /opt/firebird/SYSDBA.password yarn test" bash <(curl -s https://codecov.io/bash)