mirror of
https://github.com/openshwprojects/OpenBK7231T_App.git
synced 2026-02-05 02:05:43 +00:00
RTL8720D (#1550)
* ambd * update sdk, get current fw idx * test * ota * reset if hard fault * revert and fix * uart flow control * disable uart tcp debug by default * test * wifi test * adjust lwip adjust scan * increase timeout * enable ssdp, close uart tcp sockets on restart * test * pwm * fix bl0942 * cut some code
This commit is contained in:
committed by
GitHub
parent
23e67076c3
commit
969e5bfa50
51
.github/workflows/workflow.yaml
vendored
51
.github/workflows/workflow.yaml
vendored
@ -14,7 +14,7 @@ env:
|
||||
jobs:
|
||||
refs:
|
||||
name: Prepare CI Environment
|
||||
runs-on: ubuntu-20.04
|
||||
runs-on: ubuntu-22.04
|
||||
outputs:
|
||||
sha_short: ${{ steps.refs.outputs.sha_short }}
|
||||
short_ref: ${{ steps.refs.outputs.short_ref }}
|
||||
@ -102,11 +102,11 @@ jobs:
|
||||
build:
|
||||
name: Build
|
||||
needs: refs
|
||||
runs-on: ubuntu-20.04
|
||||
runs-on: ubuntu-22.04
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
platform: [OpenBK7231T, OpenBK7231N, OpenXR809, OpenBL602, OpenW800, OpenW600, OpenLN882H, OpenTR6260, OpenRTL87X0C, OpenRTL8710B, OpenRTL8710A, OpenBK7238]
|
||||
platform: [OpenBK7231N, OpenBK7238, OpenXR809, OpenBL602, OpenW800, OpenW600, OpenLN882H, OpenTR6260, OpenRTL8710A, OpenRTL8710B, OpenRTL87X0C, OpenRTL8720D]
|
||||
steps:
|
||||
- name: Source checkout
|
||||
uses: actions/checkout@v4
|
||||
@ -146,10 +146,47 @@ jobs:
|
||||
output/${{ needs.refs.outputs.version }}/${{ matrix.platform }}_${{ needs.refs.outputs.version }}_OTA.bin.xz.ota
|
||||
if-no-files-found: warn
|
||||
|
||||
build2004:
|
||||
name: Build
|
||||
needs: refs
|
||||
runs-on: ubuntu-20.04
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
platform: [OpenBK7231T]
|
||||
steps:
|
||||
- name: Source checkout
|
||||
uses: actions/checkout@v4
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: '3.8'
|
||||
architecture: 'x64'
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
sudo dpkg --add-architecture i386
|
||||
sudo apt-get update
|
||||
sudo apt-get -y install libc6-i386 make cmake gcc-arm-none-eabi
|
||||
pip3 install pycryptodomex
|
||||
pip3 install configobj
|
||||
pip3 install toml
|
||||
pip3 install fdt
|
||||
- run: ls -la
|
||||
- name: Run make
|
||||
run: make APP_VERSION=${{ needs.refs.outputs.version }} APP_NAME=${{ matrix.platform }} ${{ matrix.platform }}
|
||||
- name: Save build assets
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: ${{ env.APP_NAME }}_${{ needs.refs.outputs.version }}_${{ matrix.platform }}
|
||||
path: |
|
||||
output/${{ needs.refs.outputs.version }}/${{ matrix.platform }}_UA_${{ needs.refs.outputs.version }}.bin
|
||||
output/${{ needs.refs.outputs.version }}/${{ matrix.platform }}_UG_${{ needs.refs.outputs.version }}.bin
|
||||
output/${{ needs.refs.outputs.version }}/${{ matrix.platform }}_QIO_${{ needs.refs.outputs.version }}.bin
|
||||
output/${{ needs.refs.outputs.version }}/${{ matrix.platform }}_${{ needs.refs.outputs.version }}.rbl
|
||||
if-no-files-found: warn
|
||||
build_idf:
|
||||
name: Build IDF
|
||||
needs: refs
|
||||
runs-on: ubuntu-20.04
|
||||
runs-on: ubuntu-22.04
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
@ -195,8 +232,8 @@ jobs:
|
||||
|
||||
merge:
|
||||
name: Merge Artifacts
|
||||
runs-on: ubuntu-20.04
|
||||
needs: [refs, build, build2, build_idf]
|
||||
runs-on: ubuntu-22.04
|
||||
needs: [refs, build, build2004, build2, build_idf]
|
||||
#if: always() && needs.refs.outputs.new_release == 'true' && (github.ref == 'refs/heads/main' || github.ref_name == 'alpha')
|
||||
steps:
|
||||
- name: Merge Artifacts
|
||||
@ -207,7 +244,7 @@ jobs:
|
||||
|
||||
release:
|
||||
name: Semantic Release Images and Artifacts
|
||||
runs-on: ubuntu-20.04
|
||||
runs-on: ubuntu-22.04
|
||||
needs: [merge, refs]
|
||||
if: always() && needs.refs.outputs.new_release == 'true' && (github.ref == 'refs/heads/main' || github.ref_name == 'alpha')
|
||||
steps:
|
||||
|
||||
Reference in New Issue
Block a user