Skip to content

Commit

Permalink
Merge pull request #123 from xmos/release/v0.20.0
Browse files Browse the repository at this point in the history
Release/v0.20.0
  • Loading branch information
keithm-xmos authored Nov 17, 2022
2 parents dcd34e2 + 1adb28f commit 80947cd
Show file tree
Hide file tree
Showing 299 changed files with 2,866 additions and 1,896 deletions.
56 changes: 32 additions & 24 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,66 +28,72 @@ env:
SDK_BUILDER_IMAGE: 'ghcr.io/xmos/sdk_app_builder:develop'

jobs:
build_examples:
name: Build example applications
build_host_apps:
name: Build host applications
runs-on: ubuntu-latest
steps:
- name: Checkout SDK
uses: actions/checkout@v2
- name: Checkout
uses: actions/checkout@v3
with:
submodules: recursive

- name: Pull SDK builder image
- name: Pull SDK builder
run: |
docker pull ${SDK_BUILDER_IMAGE}
- name: Build
run: |
docker run --user $(id -u) --rm -w /sln_voice -v ${{github.workspace}}:/sln_voice ${SDK_BUILDER_IMAGE} bash -l tools/ci/build_examples.sh
- name: Save metadata
run: |
bash tools/ci/log_metadata.sh ./dist/examples_metadata.json
docker run --rm -w /xcore_sdk -v ${{github.workspace}}:/xcore_sdk ${SDK_BUILDER_IMAGE} bash -l tools/ci/build_host_apps.sh
- name: Save example app firmware artifacts
- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
name: sln_voice_example_apps
path: ./dist/*
name: host_apps
path: ./dist_host

build_applications:
name: Build reference applications
build_examples:
name: Build example applications
runs-on: ubuntu-latest
needs: build_host_apps
steps:
- name: Checkout SDK
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
submodules: recursive

- name: Pull SDK builder image
run: |
docker pull ${SDK_BUILDER_IMAGE}
- name: Download host build artifacts
uses: actions/download-artifact@v3
with:
name: host_apps
path: ./dist_host

- name: Build
run: |
docker run --user $(id -u) --rm -w /sln_voice -v ${{github.workspace}}:/sln_voice ${SDK_BUILDER_IMAGE} bash -l tools/ci/build_applications.sh
docker run --user $(id -u) --rm -w /sln_voice -v ${{github.workspace}}:/sln_voice ${SDK_BUILDER_IMAGE} bash -l tools/ci/build_examples.sh
- name: Save metadata
run: |
bash tools/ci/log_metadata.sh ./dist/applications_metadata.json
bash tools/ci/log_metadata.sh ./dist/examples_metadata.json
- name: Save reference app firmware artifacts
- name: Save example app firmware artifacts
uses: actions/upload-artifact@v3
with:
name: sln_voice_reference_apps
path: ./dist/*
name: sln_voice_example_apps
path: |
./dist/*.xe
./dist/*.fs
./dist/*.json
build_tests:
name: Build tests and test applications
runs-on: ubuntu-latest
steps:
- name: Checkout SDK
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
submodules: recursive

Expand All @@ -103,8 +109,10 @@ jobs:
run: |
bash tools/ci/log_metadata.sh ./dist/tests_metadata.json
- name: Save reference app firmware artifacts
- name: Save example application firmware artifacts
uses: actions/upload-artifact@v3
with:
name: sln_voice_test_apps
path: ./dist/*
path: |
./dist/*.xe
./dist/*.json
4 changes: 2 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@ on:
workflow_dispatch: {}

env:
DOC_BUILDER_IMAGE: 'ghcr.io/xmos/doc_builder:main'
DOC_BUILDER_IMAGE: 'ghcr.io/xmos/doc_builder:latest'

jobs:
build_documentation:
name: Build and package documentation
runs-on: ubuntu-latest
steps:
- name: Checkout SDK
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
submodules: recursive

Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
*.xmt
**/_build/
**/build_*/
**/dist*/
**/dist_host*/
!doc/tutorials/build_system/
**/run_*.log
**/_doxygen/*
Expand Down
12 changes: 11 additions & 1 deletion CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,12 +1,22 @@
XCORE-VOICE change log
======================

0.20.0
------

* ADDED: Audio response playback
* ADDED: Wanson 20220923 model update
* ADDED: Documentation updates
* FIXED: USB audio device is now recognized on Windows
* FIXED: Applications moved to examples folder
* FIXED: Sample rate conversion from 48k fixed

0.12.0
------

* ADDED: Audio playback to FFD application
* ADDED: First draft of documentation
* KNOWN ISSUE: USB audio device is not recognized on Windows. This Does not effect FFD.
* KNOWN ISSUE: USB audio device is not recognized on Windows (This does not effect FFD)

0.10.0
------
Expand Down
1 change: 0 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ add_subdirectory(xcore_sdk)

## Add top level project targets
if(PROJECT_IS_TOP_LEVEL)
include(applications/applications.cmake)
include(examples/examples.cmake)
endif()

Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ Some dependent components are included as git submodules. These can be obtained

## Documentation

See the READMEs for the early applications:
See the READMEs for the early example applications:

[FFD](https://github.com/xmos/sln_voice/blob/develop/applications/ffd/README.rst)
[FFD](https://github.com/xmos/sln_voice/blob/develop/examples/ffd/README.md)

[STLP](https://github.com/xmos/sln_voice/blob/develop/applications/stlp/README.rst)
[STLP](https://github.com/xmos/sln_voice/blob/develop/examples/stlp/README.md)

# Getting Help

Expand All @@ -33,5 +33,5 @@ This Software is subject to the terms of the [XMOS Public Licence: Version 1](ht

Additional third party copyrighted code is included under the following licenses:

The Wanson speech recognition library is `Copyright 2022. Shanghai Wanson Electronic Technology Co.Ltd ("WANSON")` and is subject to the [Wanson Restrictive License](https://github.com/xmos/sln_voice/tree/develop/applications/ffd/inference/wanson/lib/LICENSE.md).
The Wanson speech recognition library is `Copyright 2022. Shanghai Wanson Electronic Technology Co.Ltd ("WANSON")` and is subject to the [Wanson Restrictive License](https://github.com/xmos/sln_voice/tree/develop/examples/ffd/inference/wanson/lib/LICENSE.md).

5 changes: 0 additions & 5 deletions applications/applications.cmake

This file was deleted.

65 changes: 0 additions & 65 deletions applications/ffd/ext/ffd_usb_output.cmake

This file was deleted.

Loading

0 comments on commit 80947cd

Please sign in to comment.