Skip to content

Commit

Permalink
vindriktning: build with github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
devbis committed Feb 2, 2024
1 parent a06e385 commit 6e5ea20
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,16 +34,23 @@ jobs:
# mv ${{ env.ARTIFACT_DIR }}/z03mmc.bin ${{ env.ARTIFACT_DIR }}/z03mmc_tl_code.bin
# echo "status=success" >> $GITHUB_OUTPUT
#
- name: Build LYWSD03MMC
id: lywsd03mmc
# - 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=0x1141
# cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} --target=z03mmc.zigbee
# echo "status=success" >> $GITHUB_OUTPUT

- name: Build LYWSD03MMC Vindriktning
id: lywsd03mmc_vindriktning
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
cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DSDK_PREFIX=${{env.SDK_DIR}} -DTOOLCHAIN_PREFIX=${{env.TOOLCHAIN_DIR}}
cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} --target=zvindriktning.zigbee
echo "status=success" >> $GITHUB_OUTPUT
- name: Upload a Build Artifact
uses: actions/upload-artifact@v4
if: steps.lywsd03mmc.outputs.status == 'success' && !cancelled()
if: steps.lywsd03mmc_vindriktning.outputs.status == 'success' && !cancelled()
with:
# Artifact name
name: firmware
Expand Down

0 comments on commit 6e5ea20

Please sign in to comment.