Skip to content

Commit

Permalink
Merge pull request #3 from Picovoice/v1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ksyeo1010 authored Jul 31, 2023
2 parents b3eb93d + c8f2674 commit 8a08243
Show file tree
Hide file tree
Showing 50 changed files with 1,766 additions and 274 deletions.
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Bug report
about: Bugs in iOS Voice Processor
title: 'iOS Voice Processor Issue: '
labels: bug
assignees: ''

---

Make sure you have read the documentation, and have put forth a reasonable effort to find an existing answer.

### Expected behaviour


### Actual behaviour


### Steps to reproduce the behaviour

(Include enough details so that the issue can be reproduced independently.)
14 changes: 14 additions & 0 deletions .github/ISSUE_TEMPLATE/documentation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
name: Documentation
about: Issues around documentation of iOS Voice Processor
title: iOS Voice Processor Documentation Issue
labels: documentation
assignees: ''

---

### What is the URL of the doc?



### What's the nature of the issue? (e.g. steps do not work, typos/grammar/spelling, etc., out of date)
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Feature request
about: iOS Voice Processor suggestion
title: ''
labels: enhancement
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
45 changes: 45 additions & 0 deletions .github/workflows/ios-demo.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: iOS Demo

on:
workflow_dispatch:
push:
branches: [ main ]
paths:
- '.github/workflows/ios-demo.yml'
- 'example/**'
- '!example/REAMDE.md'
pull_request:
branches: [ main, 'v[0-9]+.[0-9]+' ]
paths:
- '.github/workflows/ios-demo.yml'
- 'example/**'
- '!example/REAMDE.md'

defaults:
run:
working-directory: example

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

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

- name: Install Cocoapods
run: gem install cocoapods

- name: Run Cocoapods
run: pod install

- name: XCode Build
run: xcodebuild build
-configuration Debug
-workspace ios-voice-processor.xcworkspace
-sdk iphoneos
-scheme ios-voice-processor-Example
-destination "platform=iOS Simulator,name=iPhone 12"
CODE_SIGNING_ALLOWED=NO

46 changes: 46 additions & 0 deletions .github/workflows/ios-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: iOS Tests

on:
workflow_dispatch:
push:
branches: [ main ]
paths:
- '.github/workflows/ios-tests.yml'
- "**"
- "!README.md"
- '!example/README.md'
pull_request:
branches: [ main, 'v[0-9]+.[0-9]+' ]
paths:
- '.github/workflows/ios-tests.yml'
- "**"
- "!README.md"
- '!example/README.md'

defaults:
run:
working-directory: example

jobs:
build:
name: Run iOS Tests
runs-on: macos-latest

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

- name: Install Cocoapods
run: gem install cocoapods

- name: Run Cocoapods
run: pod install

- name: XCode Build
run: xcodebuild test
-configuration Debug
-workspace ios-voice-processor.xcworkspace
-sdk iphoneos
-scheme ios-voice-processor-Example
-destination "platform=iOS Simulator,name=iPhone 12"
CODE_SIGNING_ALLOWED=NO
18 changes: 18 additions & 0 deletions .github/workflows/link-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Check Markdown links

on:
workflow_dispatch:
push:
branches: [ main ]
pull_request:
branches: [ main, 'v[0-9]+.[0-9]+' ]

jobs:
markdown-link-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: gaurav-nelson/[email protected]
with:
use-quiet-mode: 'yes'
use-verbose-mode: 'yes'
25 changes: 25 additions & 0 deletions .github/workflows/spell-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: SpellCheck

on:
workflow_dispatch:
push:
branches: [ main ]
pull_request:
branches: [ main, 'v[0-9]+.[0-9]+' ]

jobs:
markdown:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- uses: actions/setup-node@v3
with:
node-version: 18

- name: Install CSpell
run: npm install -g cspell

- name: Run CSpell
run: cspell --config resources/.lint/spell-check/.cspell.json "**/*"
24 changes: 24 additions & 0 deletions .github/workflows/swift-codestyle.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Swift Codestyle

on:
workflow_dispatch:
push:
branches: [ main ]
paths:
- '**/*.swift'
pull_request:
branches: [ main, 'v[0-9]+.[0-9]+' ]
paths:
- '**/*.swift'

jobs:
check-switch-codestyle:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Check swift codestyle
uses: norio-nomura/[email protected]
with:
args: lint --config resources/.lint/swift/.swiftlint.yml --strict
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.idea

# OS X
.DS_Store

Expand Down
8 changes: 0 additions & 8 deletions Example/Podfile

This file was deleted.

16 changes: 0 additions & 16 deletions Example/Podfile.lock

This file was deleted.

This file was deleted.

72 changes: 0 additions & 72 deletions Example/ios-voice-processor/ViewController.swift

This file was deleted.

Loading

0 comments on commit 8a08243

Please sign in to comment.