Skip to content
Open
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
24 changes: 24 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: CI

on: [pull_request]

jobs:
ci:
runs-on: ubuntu-latest
name: CI for Pull Request
steps:
- name: Checkout the source code
uses: actions/checkout@v2
with:
path: src

- name: CI
uses: tedd-an/action-ci@dev
with:
src_path: src
bluez_path: ""
output_path: ""
space: user
github_token: ${{ secrets.ACTION_TOKEN }}
email_token: ${{ secrets.EMAIL_TOKEN }}
patchwork_token : ${{ secrets.PATCHWORK_TOKEN }}
26 changes: 26 additions & 0 deletions .github/workflows/code_scan.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Code Scan

on:
schedule:
- cron: "10 7 * * FRI"

jobs:
code-scan:
runs-on: ubuntu-latest
steps:
- name: Checkout the source
uses: actions/checkout@v2
with:
fetch-depth: 0
path: src
- name: Code Scan
uses: tedd-an/action-code-scan@dev
with:
src_path: src
github_token: ${{ secrets.GITHUB_TOKEN }}
email_token: ${{ secrets.EMAIL_TOKEN }}
- uses: actions/upload-artifact@v2
with:
name: scan_report
path: scan_report.tar.gz

39 changes: 39 additions & 0 deletions .github/workflows/schedule_work.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Scheduled Work

on:
schedule:
- cron: "15,45 * * * *"

jobs:

manage_repo:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Manage Repo
uses: tedd-an/action-manage-repo@master
with:
src_repo: "bluez/bluez"
src_branch: "master"
dest_branch: "master"
workflow_branch: "workflow"
github_token: ${{ secrets.GITHUB_TOKEN }}

create_pr:
needs: manage_repo
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Patchwork to PR
uses: tedd-an/action-patchwork-to-pr@dev
with:
pw_key_str: "user"
github_token: ${{ secrets.ACTION_TOKEN }}
email_token: ${{ secrets.EMAIL_TOKEN }}
patchwork_token: ${{ secrets.PATCHWORK_TOKEN }}
1 change: 1 addition & 0 deletions tools/btattach.c
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,7 @@ static const struct {
{ "ag6xx", HCI_UART_AG6XX },
{ "nokia", HCI_UART_NOKIA },
{ "mrvl", HCI_UART_MRVL },
{ "nxp", HCI_UART_NXP },
{ }
};

Expand Down
1 change: 1 addition & 0 deletions tools/hciattach.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
#define HCI_UART_AG6XX 9
#define HCI_UART_NOKIA 10
#define HCI_UART_MRVL 11
#define HCI_UART_NXP 12

#define HCI_UART_RAW_DEVICE 0
#define HCI_UART_RESET_ON_INIT 1
Expand Down