Skip to content

Commit

Permalink
Add Demo Apps
Browse files Browse the repository at this point in the history
Add CI configs

Readme

Readme
  • Loading branch information
lemonmojo committed Sep 28, 2024
1 parent 0934be2 commit 400f893
Show file tree
Hide file tree
Showing 80 changed files with 7,459 additions and 2 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/build-royalvncdemo.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Build RoyalVNC Demo

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
build:
name: Build
runs-on: macos-14

steps:
- name: Checkout
uses: actions/checkout@v3

- name: Select Xcode
run: sudo xcode-select --switch /Applications/Xcode_16.0.app

- name: Get Xcode Version
run: xcodebuild -version

- name: Build
env:
scheme: RoyalVNCDemo
run: xcodebuild clean build analyze -scheme "$scheme" | xcpretty && exit ${PIPESTATUS[0]}
28 changes: 28 additions & 0 deletions .github/workflows/build-royalvnciosdemo.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Build RoyalVNC iOS Demo

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
build:
name: Build
runs-on: macos-14

steps:
- name: Checkout
uses: actions/checkout@v3

- name: Select Xcode
run: sudo xcode-select --switch /Applications/Xcode_16.0.app

- name: Get Xcode Version
run: xcodebuild -version

- name: Build
env:
scheme: RoyalVNCiOSDemo
destination: generic/platform=iOS Simulator
run: xcodebuild clean build analyze -scheme "$scheme" -destination "$destination" | xcpretty && exit ${PIPESTATUS[0]}
27 changes: 27 additions & 0 deletions .github/workflows/build-royalvncobjcdemo.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Build RoyalVNC ObjC Demo

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
build:
name: Build
runs-on: macos-14

steps:
- name: Checkout
uses: actions/checkout@v3

- name: Select Xcode
run: sudo xcode-select --switch /Applications/Xcode_16.0.app

- name: Get Xcode Version
run: xcodebuild -version

- name: Build
env:
scheme: RoyalVNCObjCDemo
run: xcodebuild clean build analyze -scheme "$scheme" | xcpretty && exit ${PIPESTATUS[0]}
51 changes: 51 additions & 0 deletions .swiftlint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
disabled_rules: # rule identifiers turned on by default to exclude from running
- trailing_whitespace
- vertical_parameter_alignment
- switch_case_alignment
- todo

opt_in_rules:
- unavailable_function
- closure_spacing
- discarded_notification_center_observer
- discouraged_assert
- empty_count
- empty_string
- enum_case_associated_values_count
- fatal_error_message
- file_name_no_space
- function_default_parameter_at_end
- ibinspectable_in_extension
- identical_operands
- legacy_multiple
- literal_expression_end_indentation
- lower_acl_than_parent
- override_in_extension
- prefer_self_type_over_type_of_self
- prefer_zero_over_explicit_init
- private_action
- private_outlet
- redundant_nil_coalescing
- redundant_type_annotation
- toggle_bool
- unneeded_parentheses_in_closure_argument
- unowned_variable_capture
- weak_delegate
- yoda_condition

analyzer_rules:
- unused_declaration
- unused_import

file_length: 800
line_length: 280
function_body_length: 82
function_parameter_count: 8
cyclomatic_complexity: 16

identifier_name:
min_length: 2
max_length: 60
allowed_symbols: [
_
]
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
# royalvnc-demo
Demo clients for RoyalVNC
# Royal VNC Demos

Demo clients for [RoyalVNC](https://github.com/royalapplications/royalvnc)
26 changes: 26 additions & 0 deletions RoyalVNC.xcworkspace/contents.xcworkspacedata

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions RoyalVNC.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IDEDidComputeMac32BitWarning</key>
<true/>
</dict>
</plist>
Loading

0 comments on commit 400f893

Please sign in to comment.