Skip to content

Commit

Permalink
Test PHP
Browse files Browse the repository at this point in the history
  • Loading branch information
geographika committed Dec 20, 2023
1 parent 4713dcc commit 896ce4b
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/build-mapscript-php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,17 @@ jobs:
run: |
sudo apt-get purge '^php.*' -y
- name: Set up PHP ${{ matrix.php-version }}
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
extensions: none, xml, mbstring
- name: Setup PHP
run: |
sudo add-apt-repository ppa:ondrej/php -y
sudo apt-get install -y --no-install-recommends \
php${{ matrix.php-version }}-dev php${{ matrix.php-version }}-xml php${{ matrix.php-version }}-mbstring
# - name: Set up PHP ${{ matrix.php-version }}
# uses: shivammathur/setup-php@v2
# with:
# php-version: ${{ matrix.php-version }}
# extensions: none, xml, mbstring

- name: Install dependencies
run: ./ci/setup.sh
Expand Down

0 comments on commit 896ce4b

Please sign in to comment.