Skip to content

Commit 7a8ca68

Browse files
Merge pull request #618 from nextcloud/backport/616/stable29
[stable29] ci: Fix missing GD package
2 parents 711a747 + 526b386 commit 7a8ca68

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
@@ -52,7 +52,7 @@ jobs:
5252

5353
steps:
5454
- name: Checkout server
55-
uses: actions/checkout@v3
55+
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
5656
with:
5757
repository: nextcloud/server
5858
ref: ${{ matrix.server-versions }}
@@ -66,18 +66,22 @@ jobs:
6666
cd build/integration && composer require --dev phpunit/phpunit:~9
6767
6868
- name: Checkout app
69-
uses: actions/checkout@v3
69+
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
7070
with:
7171
path: apps/${{ env.APP_NAME }}
7272

7373
- name: Set up php ${{ matrix.php-versions }}
74-
uses: shivammathur/setup-php@2.24.0
74+
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 # v2.31.1
7575
with:
7676
php-version: ${{ matrix.php-versions }}
77-
extensions: mbstring, iconv, fileinfo, intl, sqlite, pdo_sqlite, mysql, pdo_mysql, pgsql, pdo_pgsql, apcu
78-
ini-values:
79-
apc.enable_cli=on
77+
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
78+
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
8079
coverage: none
80+
ini-file: development
81+
# Temporary workaround for missing pcntl_* in PHP 8.3: ini-values: apc.enable_cli=on
82+
ini-values: apc.enable_cli=on, disable_functions=
83+
env:
84+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
8185

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

0 commit comments

Comments
 (0)