Skip to content

Commit afb5463

Browse files
committed
Cleanup build and release workflow by removing commented-out steps
1 parent 7484828 commit afb5463

1 file changed

Lines changed: 2 additions & 39 deletions

File tree

.github/workflows/buildandrelease.yml

Lines changed: 2 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,7 @@ on:
1010
- "v*.*.*"
1111
- "v*.*"
1212
workflow_dispatch:
13-
# branches: [ main ]
14-
# pull_request:
15-
# branches: [ main ]
16-
13+
1714
# Must match the project() name in CMakeLists.txt
1815
env:
1916
APP_NAME: picosmsPlus
@@ -28,13 +25,7 @@ jobs:
2825
runs-on: self-hosted
2926
name: Build and create release
3027
steps:
31-
32-
# - name: Install dependencies
33-
# run: |
34-
# sudo apt update && \
35-
# sudo apt install -y git python3 && \
36-
# sudo apt install -y cmake gcc-arm-none-eabi libnewlib-arm-none-eabi build-essential libusb-1.0-0-dev
37-
28+
3829
- name: Check out this repository with submodules
3930
uses: actions/checkout@v4
4031
with:
@@ -59,41 +50,13 @@ jobs:
5950
grep "pico_set_program_version" CMakeLists.txt
6051
grep SWVERSION pico_shared/menu.h
6152
62-
# - name: Install Pico SDk
63-
# run: |
64-
# cd $HOME && \
65-
# git clone https://github.com/raspberrypi/pico-sdk.git --branch master && \
66-
# cd pico-sdk/ && \
67-
# git submodule update --init
68-
69-
# - name: Install picotool
70-
# run: |
71-
# cd $HOME && \
72-
# export PICO_SDK_PATH=$HOME/pico-sdk && \
73-
# git clone https://github.com/raspberrypi/picotool.git --branch master && \
74-
# cd picotool/ && \
75-
# mkdir build && \
76-
# cd build && \
77-
# cmake .. && \
78-
# make
7953
8054
- name: Build all the .uf2 files
8155
run: |
8256
chmod +x build*.sh bld.sh || exit 1
8357
export PICO_SDK_PATH=$HOME/pico-sdk
8458
./buildAll.sh
8559
86-
# - name: Show release info using picotool
87-
# run: |
88-
# export PICO_SDK_PATH=$HOME/pico-sdk && \
89-
# $HOME/picotool/build/picotool info releases/${{ env.APP_NAME }}AdaFruitDVISD.uf2 && \
90-
# echo "-----------------------------" && \
91-
# $HOME/picotool/build/picotool info releases/${{ env.APP_NAME }}FeatherDVI.uf2 && \
92-
# echo "-----------------------------" && \
93-
# $HOME/picotool/build/picotool info releases/${{ env.APP_NAME }}PimoroniDV.uf2 && \
94-
# echo "-----------------------------" && \
95-
# $HOME/picotool/build/picotool info releases/${{ env.APP_NAME }}WsRP2040PiZero.uf2
96-
9760
- name: Create release
9861
uses: softprops/action-gh-release@v2
9962
if: startsWith(github.ref, 'refs/tags/') && github.event_name == 'push'

0 commit comments

Comments
 (0)