Skip to content

.github/workflows/testaction.yml #14

.github/workflows/testaction.yml

.github/workflows/testaction.yml #14

Workflow file for this run

on:
workflow_dispatch:
# Must match the project() name in CMakeLists.txt
env:
APP_NAME: picosmsPlus
# Allow this workflow to write back to the repository
permissions:
contents: write
jobs:
build-release:
runs-on: self-hosted
name: test action
steps:
#- name: Install dependencies
# run: |
# sudo apt update && \
# sudo apt install -y git python3 && \
# sudo apt install -y cmake gcc-arm-none-eabi libnewlib-arm-none-eabi build-essential libusb-1.0-0-dev
- name: Check out this repository with submodules
uses: actions/checkout@v4
with:
submodules: recursive
- name: build source tree
run: |
arm-none-eabi-gcc --version
id
pwd
export PICO_SDK_PATH="$HOME/pico-sdk"
echo "$PICO_SDK_PATH"
ls -l
echo "$PICO_SDK_PATH"
chmod +x build*.sh
./buildAll.sh
- name: Show release info using picotool
run: |
export PICO_SDK_PATH=$HOME/pico-sdk
$HOME/picotool/build/picotool info releases/${{ env.APP_NAME }}AdaFruitDVISD.uf2
echo "-----------------------------"
$HOME/picotool/build/picotool info releases/${{ env.APP_NAME }}FeatherDVI.uf2
echo "-----------------------------"
$HOME/picotool/build/picotool info releases/${{ env.APP_NAME }}PimoroniDV.uf2
echo "-----------------------------"
$HOME/picotool/build/picotool info releases/${{ env.APP_NAME }}WsRP2040PiZero.uf2