2828 matrix :
2929 php-versions : [ '8.2' ]
3030 databases : [ 'sqlite' ]
31- server-versions : [ 'master ', 'stable33', 'stable32', 'stable31' ]
31+ server-versions : [ 'stable34 ', 'stable33', 'stable32', 'stable31' ]
3232
3333 name : Integration test on ☁️${{ matrix.server-versions }} 🐘${{ matrix.php-versions }}
3434
6262
6363 steps :
6464 - name : Checkout server
65- uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 .0.2
65+ uses : actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7 .0.0
6666 with :
6767 repository : nextcloud/server
6868 submodules : ' true'
7676 extensions : mbstring, iconv, fileinfo, intl, sqlite, pdo_mysql, pdo_sqlite, pgsql, pdo_pgsql, gd, zip
7777
7878 - name : Checkout llm2 app
79- uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 .0.2
79+ uses : actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7 .0.0
8080 with :
8181 path : llm2
8282 repository : nextcloud/llm2
9191 expression : " /info/version/text()"
9292
9393 - name : Checkout app
94- uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 .0.2
94+ uses : actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7 .0.0
9595 with :
9696 path : ${{ env.APP_NAME }}
9797 persist-credentials : false
@@ -152,6 +152,9 @@ jobs:
152152 pipx install poetry
153153 mkdir -p ../llm2-persistent_storage
154154 poetry install
155+ # pyproject.toml pins xllamacpp to the cu128 wheel, which needs libcuda.so.1 at import
156+ # time. The CI runner has no NVIDIA driver, so we swap in the PyPI CPU build for tests.
157+ poetry run pip install --force-reinstall --no-deps xllamacpp
155158
156159 - name : Cache llm2 models
157160 uses : actions/cache/restore@v5
@@ -169,7 +172,7 @@ jobs:
169172 APP_PORT : 9080
170173 APP_VERSION : ${{ fromJson(steps.llm2_appinfo.outputs.result).version }}
171174 run : |
172- APP_PERSISTENT_STORAGE="$(pwd)/../../llm2-persistent-storage /" poetry run python3 main.py > ../logs 2>&1 &
175+ APP_PERSISTENT_STORAGE="$(pwd)/../../llm2-persistent_storage /" poetry run python3 main.py > ../logs 2>&1 &
173176
174177 - name : Register backend
175178 run : |
0 commit comments