Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 9 additions & 29 deletions .github/workflows/xcode.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ on:
- develop

env:
DESTINATION_IOS: platform=iOS Simulator,name=iPhone 16,OS=18.1
DESTINATION_IOS: platform=iOS Simulator,name=iPhone 16,OS=18.5
DESTINATION_MACOS: platform=macOS,arch=x86_64
SCHEME: NextcloudKit
SERVER_BRANCH: stable28
PHP_VERSION: 8.2
SERVER_BRANCH: stable30
PHP_VERSION: 8.3

jobs:
build-and-test:
Expand Down Expand Up @@ -60,32 +60,12 @@ jobs:
./server/occ config:system:set memcache.distributed --value="\\OC\\Memcache\\APCu"
./server/occ background:cron
PHP_CLI_SERVER_WORKERS=5 php -S localhost:8080 -t server/ &
# - name: Setup Bundler and Install Gems
# run: |
# gem install bundler
# bundle install
# bundle update
# - name: Install docker
# run: |
# # Workaround for https://github.com/actions/runner-images/issues/8104
# brew remove --ignore-dependencies qemu
# curl -o ./qemu.rb https://raw.githubusercontent.com/Homebrew/homebrew-core/dc0669eca9479e9eeb495397ba3a7480aaa45c2e/Formula/qemu.rb
# brew install ./qemu.rb
#
# brew install docker
# colima start
# - name: Create docker test server and export enviroment variables
# run: |
# source ./create-docker-test-server.sh
# if [ ! -f ".env-vars" ]; then
# touch .env-vars
# echo "export TEST_SERVER_URL=$TEST_SERVER_URL" >> .env-vars
# echo "export TEST_USER=$TEST_USER" >> .env-vars
# echo "export TEST_APP_PASSWORD=$TEST_APP_PASSWORD" >> .env-vars
# fi
# - name: Generate EnvVars file
# run: |
# ./generate-env-vars.sh

- name: Setup Xcode
uses: maxim-lobanov/setup-xcode@60606e260d2fc5762a71e64e74b2174e8ea3c8bd # v1.6.0
with:
xcode-version: latest-stable

- name: Build & Test NextcloudKit
run: |
set -o pipefail && xcodebuild test -scheme "$SCHEME" \
Expand Down
2 changes: 1 addition & 1 deletion .swiftlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ empty_count:

line_length:
warning: 400
error: 400
error: 450

function_body_length:
warning: 200
Expand Down
18 changes: 0 additions & 18 deletions Sourcery/EnvVars.stencil

This file was deleted.

Binary file removed Sourcery/bin/sourcery
Binary file not shown.
18 changes: 0 additions & 18 deletions generate-env-vars.sh

This file was deleted.

Loading