Skip to content

Commit

Permalink
Show LIBMYSQL_PUGIN_DIR
Browse files Browse the repository at this point in the history
  • Loading branch information
lazamar committed Dec 2, 2024
1 parent 0c81910 commit a7e814b
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,6 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Install system dependencies - Linux
if: runner.os == 'Linux'
run: |
set -x
sudo apt-get update
sudo apt-get install libpcre3-dev
sudo apt-get install libmysqlclient-dev
sudo apt-get install libmysqlclient21
echo $LIBMYSQL_PLUGIN_DIR
sudo ln -s /opt/hostedtoolcache/mysql/9.0.1/x64/lib/libmysqlclient.so.24 /usr/lib/libmysqlclient.so.24
- name: Setup - PostgreSQL
id: postgres-setup
uses: ikalnytskyi/action-setup-postgres@v7
Expand All @@ -58,6 +47,18 @@ jobs:
cabal-version: ${{ matrix.cabal }}
cabal-update: true


- name: Install system dependencies - Linux
if: runner.os == 'Linux'
run: |
set -x
sudo apt-get update
sudo apt-get install libpcre3-dev
sudo apt-get install libmysqlclient-dev
sudo apt-get install libmysqlclient21
echo $LIBMYSQL_PLUGIN_DIR
sudo ln -s /opt/hostedtoolcache/mysql/9.0.1/x64/lib/libmysqlclient.so.24 /usr/lib/libmysqlclient.so.24
- name: Build - Configure
run: |
cabal configure --enable-tests --enable-benchmarks --disable-documentation
Expand Down

0 comments on commit a7e814b

Please sign in to comment.