Skip to content

Commit

Permalink
build only tl code for now
Browse files Browse the repository at this point in the history
  • Loading branch information
devbis committed Nov 18, 2023
1 parent e8d45e1 commit 42bc055
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,18 +26,18 @@ jobs:
- name: Get SDK
run: git clone https://github.com/devbis/tl_zigbee_sdk.git -b 3.6.8.5 --depth 1 ${{ env.SDK_DIR }}

- name: Build LYWSD03MMC Telink Code
id: lywsd03mmc_tl
run: |
cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DSDK_PREFIX=${{env.SDK_DIR}} -DTOOLCHAIN_PREFIX=${{env.TOOLCHAIN_DIR}} -DMANUFACTURER_CODE=0x1141
cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} --target=z03mmc.zigbee
mv ${{ env.ARTIFACT_DIR }}/z03mmc.bin ${{ env.ARTIFACT_DIR }}/z03mmc_tl_code.bin
echo "status=success" >> $GITHUB_OUTPUT
# - name: Build LYWSD03MMC Telink Code
# id: lywsd03mmc_tl
# run: |
# cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DSDK_PREFIX=${{env.SDK_DIR}} -DTOOLCHAIN_PREFIX=${{env.TOOLCHAIN_DIR}} -DMANUFACTURER_CODE=0x1141
# cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} --target=z03mmc.zigbee
# mv ${{ env.ARTIFACT_DIR }}/z03mmc.bin ${{ env.ARTIFACT_DIR }}/z03mmc_tl_code.bin
# echo "status=success" >> $GITHUB_OUTPUT
#
- name: Build LYWSD03MMC
id: lywsd03mmc
run: |
cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DSDK_PREFIX=${{env.SDK_DIR}} -DTOOLCHAIN_PREFIX=${{env.TOOLCHAIN_DIR}} -DMANUFACTURER_CODE=0
cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DSDK_PREFIX=${{env.SDK_DIR}} -DTOOLCHAIN_PREFIX=${{env.TOOLCHAIN_DIR}} -DMANUFACTURER_CODE=0x1141
cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} --target=z03mmc.zigbee
echo "status=success" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit 42bc055

Please sign in to comment.