diff --git a/.github/workflows/rp2040_hal_examples.yml b/.github/workflows/rp2040_hal_examples.yml index 19889aec9..6ca4487df 100644 --- a/.github/workflows/rp2040_hal_examples.yml +++ b/.github/workflows/rp2040_hal_examples.yml @@ -5,7 +5,7 @@ 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 @@ -13,6 +13,14 @@ jobs: 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" udeps: runs-on: ubuntu-20.04 steps: diff --git a/.github/workflows/rp235x_hal_examples_arm.yml b/.github/workflows/rp235x_hal_examples_arm.yml index 63b13f931..7ccf42952 100644 --- a/.github/workflows/rp235x_hal_examples_arm.yml +++ b/.github/workflows/rp235x_hal_examples_arm.yml @@ -5,7 +5,7 @@ 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 @@ -13,6 +13,14 @@ jobs: 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: