Skip to content

Commit

Permalink
ADD: stm32duino dev/tag release steps
Browse files Browse the repository at this point in the history
  • Loading branch information
r2axz committed Feb 9, 2022
1 parent 616f53b commit 429f512
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 4 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/devrelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,20 @@ jobs:
run: git clone https://github.com/STMicroelectronics/STM32CubeF1.git
- name: Run Cppcheck
run: STM32CUBE_PATH=./STM32CubeF1 make cppcheck
- name: Build Firmware
run: STM32CUBE_PATH=./STM32CubeF1 make
- name: Build Firmware (STM32duino 0x8002000)
run: |
make clean && \
STM32CUBE_PATH=./STM32CubeF1 FIRMWARE_ORIGIN=0x8002000 make && \
mv bluepill-serial-monster.bin bluepill-serial-monster-stm32duino-0x8002000.bin &&\
mv bluepill-serial-monster.hex bluepill-serial-monster-stm32duino-0x8002000.hex
- name: Build Firmware (STM32duino 0x8005000)
run: |
make clean && \
STM32CUBE_PATH=./STM32CubeF1 FIRMWARE_ORIGIN=0x8005000 make && \
mv bluepill-serial-monster.bin bluepill-serial-monster-stm32duino-0x8005000.bin &&\
mv bluepill-serial-monster.hex bluepill-serial-monster-stm32duino-0x8005000.hex
- name: Build Firmware (Bare)
run: make clean && STM32CUBE_PATH=./STM32CubeF1 make
- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
Expand Down
16 changes: 14 additions & 2 deletions .github/workflows/tagrelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,20 @@ jobs:
run: git clone https://github.com/STMicroelectronics/STM32CubeF1.git
- name: Run Cppcheck
run: STM32CUBE_PATH=./STM32CubeF1 make cppcheck
- name: Build Firmware
run: STM32CUBE_PATH=./STM32CubeF1 make
- name: Build Firmware (STM32duino 0x8002000)
run: |
make clean && \
STM32CUBE_PATH=./STM32CubeF1 FIRMWARE_ORIGIN=0x8002000 make && \
mv bluepill-serial-monster.bin bluepill-serial-monster-stm32duino-0x8002000.bin &&\
mv bluepill-serial-monster.hex bluepill-serial-monster-stm32duino-0x8002000.hex
- name: Build Firmware (STM32duino 0x8005000)
run: |
make clean && \
STM32CUBE_PATH=./STM32CubeF1 FIRMWARE_ORIGIN=0x8005000 make && \
mv bluepill-serial-monster.bin bluepill-serial-monster-stm32duino-0x8005000.bin &&\
mv bluepill-serial-monster.hex bluepill-serial-monster-stm32duino-0x8005000.hex
- name: Build Firmware (Bare)
run: make clean && STM32CUBE_PATH=./STM32CubeF1 make
- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
Expand Down

0 comments on commit 429f512

Please sign in to comment.