Skip to content

Commit 10b54a7

Browse files
Merge pull request #616 from nextcloud/bugfix/noid/fix-missing-gd-package
ci: Fix missing GD package
2 parents 751919e + d6ab33c commit 10b54a7

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

.github/workflows/integration.yml

+10-6
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454

5555
steps:
5656
- name: Checkout server
57-
uses: actions/checkout@v3
57+
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
5858
with:
5959
repository: nextcloud/server
6060
ref: ${{ matrix.server-versions }}
@@ -68,18 +68,22 @@ jobs:
6868
cd build/integration && composer require --dev phpunit/phpunit:~9
6969
7070
- name: Checkout app
71-
uses: actions/checkout@v3
71+
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
7272
with:
7373
path: apps/${{ env.APP_NAME }}
7474

7575
- name: Set up php ${{ matrix.php-versions }}
76-
uses: shivammathur/setup-php@2.24.0
76+
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 # v2.31.1
7777
with:
7878
php-version: ${{ matrix.php-versions }}
79-
extensions: mbstring, iconv, fileinfo, intl, sqlite, pdo_sqlite, mysql, pdo_mysql, pgsql, pdo_pgsql, apcu
80-
ini-values:
81-
apc.enable_cli=on
79+
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
80+
extensions: bz2, ctype, curl, dom, fileinfo, gd, iconv, intl, json, libxml, mbstring, openssl, pcntl, posix, session, simplexml, xmlreader, xmlwriter, zip, zlib, sqlite, pdo_sqlite, mysql, pdo_mysql, pgsql, pdo_pgsql
8281
coverage: none
82+
ini-file: development
83+
# Temporary workaround for missing pcntl_* in PHP 8.3: ini-values: apc.enable_cli=on
84+
ini-values: apc.enable_cli=on, disable_functions=
85+
env:
86+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
8387

8488
- name: Set up dependencies
8589
working-directory: apps/${{ env.APP_NAME }}

0 commit comments

Comments
 (0)