From b02a2718c4f441dbb8d1fb4698f3873d0e1729de Mon Sep 17 00:00:00 2001 From: Alexis Grojean Date: Thu, 16 Nov 2023 11:45:23 +0100 Subject: [PATCH] Use ubuntu latest for CI unit tests --- .github/workflows/rust.yml | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 9ada5bde..343f5628 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -65,12 +65,25 @@ jobs: test: name: Run unit tests runs-on: ubuntu-latest - container: - image: ghcr.io/ledgerhq/ledger-app-builder/ledger-app-dev-tools:latest strategy: matrix: - target: ["nanos", "nanox", "nanosplus"] + target: ["nanos"] steps: + - name: arm-none-eabi-gcc + uses: fiam/arm-none-eabi-gcc@v1.0.3 + with: + release: '9-2019-q4' + - name: Install clang + run: sudo apt-get update && sudo apt install -y clang + - uses: actions-rs/toolchain@v1 + with: + toolchain: nightly + override: true + components: rust-src + - name: Install dependencies + run: | + sudo apt-get update && sudo apt-get install -y qemu-user-static + pip install speculos --extra-index-url https://test.pypi.org/simple/ - name: Clone uses: actions/checkout@v2 - name: Unit tests