Skip to content

Commit 9c3bb01

Browse files
committed
fix.
1 parent 9edca70 commit 9c3bb01

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -234,11 +234,19 @@ jobs:
234234
steps:
235235
- uses: actions/checkout@v4
236236

237-
- name: Set up PHP
237+
- name: Install Microsoft ODBC Driver for SQL Server (Linux)
238+
run: |
239+
curl https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
240+
curl https://packages.microsoft.com/config/ubuntu/20.04/prod.list | sudo tee /etc/apt/sources.list.d/mssql-release.list
241+
sudo apt-get update
242+
sudo ACCEPT_EULA=Y apt-get install -y msodbcsql17
243+
sudo apt-get install -y unixodbc-dev
244+
245+
- name: Set up PHP with SQLSRV
238246
uses: shivammathur/setup-php@v2
239247
with:
240248
php-version: ${{ matrix.php }}
241-
extensions: mbstring, pdo_sqlsrv, zip, exif, intl, gd, bcmath, curl, dom, xdebug
249+
extensions: mbstring, pdo_sqlsrv, sqlsrv, zip, exif, intl, gd, bcmath, curl, dom, xdebug
242250
coverage: xdebug
243251

244252
- name: Debug info

0 commit comments

Comments
 (0)