Skip to content

Commit

Permalink
Merge pull request #50 from OpenVoiceOS/dev
Browse files Browse the repository at this point in the history
  • Loading branch information
JarbasAl authored Jun 5, 2023
2 parents 3b4ed92 + 52f8961 commit b4c473f
Show file tree
Hide file tree
Showing 46 changed files with 3,685 additions and 1,445 deletions.
30 changes: 16 additions & 14 deletions .github/workflows/build_tests.yml
Original file line number Diff line number Diff line change
@@ -1,36 +1,38 @@
name: Run Build Tests
on:
push:
branches:
- master
- dev
pull_request:
branches:
- dev
- master
workflow_dispatch:

jobs:
build_tests:
install:
strategy:
max-parallel: 2
matrix:
python-version: [ 3.7, 3.8, 3.9, "3.10" ]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
ref: ${{ github.head_ref }}
- name: Setup Python
uses: actions/setup-python@v1
with:
python-version: 3.8
python-version: ${{ matrix.python-version }}
- name: Install Build Tools
run: |
python -m pip install build wheel
- name: Install System Dependencies
run: |
sudo apt-get update
sudo apt install python3-dev swig libssl-dev libfann-dev portaudio19-dev libpulse-dev
- name: Build Source Packages
run: |
python setup.py sdist
sudo apt install python3-dev swig libssl-dev libasound2-dev
- name: Build Distribution Packages
run: |
python setup.py bdist_wheel
- name: Install tflite_runtime workaround tflit bug
run: |
pip3 install numpy
pip3 install --extra-index-url https://google-coral.github.io/py-repo/ tflite_runtime
- name: Install core repo
- name: Install package
run: |
pip install .[audio-backend,mark1,stt,tts,skills_minimal,skills,gui,bus,all]
pip install .
19 changes: 0 additions & 19 deletions .github/workflows/dev2master.yml

This file was deleted.

34 changes: 0 additions & 34 deletions .github/workflows/install_tests.yml

This file was deleted.

6 changes: 4 additions & 2 deletions .github/workflows/license_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@ name: Run License Tests
on:
push:
branches:
- dev
- master
pull_request:
branches:
- dev
- master
workflow_dispatch:

jobs:
Expand All @@ -23,7 +25,7 @@ jobs:
- name: Install System Dependencies
run: |
sudo apt-get update
sudo apt install python3-dev swig libssl-dev
sudo apt install python3-dev swig libssl-dev libasound2-dev
- name: Install core repo
run: |
pip install .
Expand All @@ -41,4 +43,4 @@ jobs:
exclude-license: '^(Mozilla).*$'
- name: Print report
if: ${{ always() }}
run: echo "${{ steps.license_check_report.outputs.report }}"
run: echo "${{ steps.license_check_report.outputs.report }}"
2 changes: 1 addition & 1 deletion .github/workflows/notify_matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ jobs:
token: ${{ secrets.MATRIX_TOKEN }}
channel: '!WjxEKjjINpyBRPFgxl:krbel.duckdns.org'
message: |
new mycroft-dinkum-listener PR merged! https://github.com/OpenVoiceOS/mycroft-dinkum-listener/pull/${{ github.event.number }}
new ovos-dinkum-listener PR merged! https://github.com/OpenVoiceOS/ovos-dinkum-listener/pull/${{ github.event.number }}
32 changes: 32 additions & 0 deletions .github/workflows/propose_release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Propose Stable Release
on:
workflow_dispatch:
inputs:
release_type:
type: choice
description: Release Type
options:
- build
- minor
- major
jobs:
update_version:
uses: neongeckocom/.github/.github/workflows/propose_semver_release.yml@master
with:
release_type: ${{ inputs.release_type }}
version_file: ovos_dinkum_listener/version.py
alpha_var: VERSION_ALPHA
build_var: VERSION_BUILD
minor_var: VERSION_MINOR
major_var: VERSION_MAJOR
update_changelog: True
branch: dev

pull_changes:
needs: update_version
uses: neongeckocom/.github/.github/workflows/pull_master.yml@master
with:
pr_assignee: ${{ github.actor }}
pr_draft: false
pr_title: ${{ needs.update_version.outputs.version }}
pr_body: ${{ needs.update_version.outputs.changelog }}
2 changes: 1 addition & 1 deletion .github/workflows/publish_alpha.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
branches:
- dev
paths-ignore:
- 'mycroft_dinkum_listener/version.py'
- 'ovos_dinkum_listener/version.py'
- 'test/**'
- 'examples/**'
- '.github/**'
Expand Down
87 changes: 0 additions & 87 deletions .github/workflows/publish_build.yml

This file was deleted.

46 changes: 0 additions & 46 deletions .github/workflows/publish_docker.yml

This file was deleted.

Loading

0 comments on commit b4c473f

Please sign in to comment.