diff --git a/.github/workflows/rp2040_hal_examples.yml b/.github/workflows/rp2040_hal_examples.yml index 85734696a..6ca4487df 100644 --- a/.github/workflows/rp2040_hal_examples.yml +++ b/.github/workflows/rp2040_hal_examples.yml @@ -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: diff --git a/.github/workflows/rp235x_hal_examples_arm.yml b/.github/workflows/rp235x_hal_examples_arm.yml index 901245f10..7ccf42952 100644 --- a/.github/workflows/rp235x_hal_examples_arm.yml +++ b/.github/workflows/rp235x_hal_examples_arm.yml @@ -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: