From cb9a5e1057a5ea3128d634a930f3d24f6e8470f5 Mon Sep 17 00:00:00 2001 From: ryan Date: Thu, 31 Dec 2020 19:50:14 +1300 Subject: [PATCH] Install cross compiler toolchain --- .github/workflows/rust.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index ac56a9aa..0297e174 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -65,6 +65,10 @@ jobs: arch: armhf packages: libssl-dev:armhf libssl1.1:armhf zlib1g-dev:armhf zlib1g:armhf libc-dev:armhf + - name: Install cross toolchain (armv7) + if: ${{ matrix.target == 'armv7-unknown-linux-gnueabihf' }} + run: sudo apt install gcc-arm-linux-gnueabihf + - name: Enable cross compilation if: ${{ matrix.target == 'armv7-unknown-linux-gnueabihf' }} run: |