Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run picotool step in github action #857

Merged
merged 2 commits into from
Sep 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion .github/workflows/rp2040_hal_examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,22 @@ env:
TARGET: thumbv6m-none-eabi
jobs:
build:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
target: ${{ env.TARGET }}
- name: Build
run: cd ${PACKAGE} && cargo build
- name: Install picotool
run: |
sudo apt-get install -y debian-archive-keyring
sudo sh -c "echo 'deb [signed-by=/usr/share/keyrings/debian-archive-keyring.gpg] http://deb.debian.org/debian testing main contrib non-free' >/etc/apt/sources.list.d/debian.list"
sudo apt-get update
sudo apt-get install -y libxml2-utils picotool
- name: Test picotool
run: picotool info ${PACKAGE}/target/${TARGET}/debug/binary_info_demo -t elf -a | tee /dev/stderr | grep -q "rp2040-hal Binary Info Example"
jannic marked this conversation as resolved.
Show resolved Hide resolved
udeps:
runs-on: ubuntu-20.04
steps:
Expand Down
10 changes: 9 additions & 1 deletion .github/workflows/rp235x_hal_examples_arm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,22 @@ env:
TARGET: thumbv8m.main-none-eabihf
jobs:
build:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
target: ${{ env.TARGET }}
- name: Build
run: cd ${PACKAGE} && cargo build --target=${TARGET}
- name: Install picotool
run: |
sudo apt-get install -y debian-archive-keyring
sudo sh -c "echo 'deb [signed-by=/usr/share/keyrings/debian-archive-keyring.gpg] http://deb.debian.org/debian testing main contrib non-free' >/etc/apt/sources.list.d/debian.list"
sudo apt-get update
sudo apt-get install -y libxml2-utils picotool
- name: Test picotool
run: picotool info ${PACKAGE}/target/${TARGET}/debug/binary_info_demo -t elf -a | tee /dev/stderr | grep -q RP2350
udeps:
runs-on: ubuntu-20.04
steps:
Expand Down