Skip to content

Commit

Permalink
Improve formatting of CI scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
jannic committed Sep 29, 2024
1 parent 3f76f3e commit eb14a75
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/rp2040_hal_examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,11 @@ jobs:
- name: Build
run: cd ${PACKAGE} && cargo build
- name: Install picotool
run: sudo sh -c "apt-get install -y debian-archive-keyring && 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 && apt update && apt-get install -y libxml2-utils 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"
udeps:
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/rp235x_hal_examples_arm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,11 @@ jobs:
- name: Build
run: cd ${PACKAGE} && cargo build --target=${TARGET}
- name: Install picotool
run: sudo sh -c "apt-get install -y debian-archive-keyring && 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 && apt update && apt-get install -y libxml2-utils 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:
Expand Down

0 comments on commit eb14a75

Please sign in to comment.