diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 13a527c..1377f96 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,6 +19,8 @@ jobs: dist: strategy: + # don't cancel other jobs when one fails + fail-fast: false matrix: include: - os: windows-latest @@ -60,6 +62,15 @@ jobs: toolchain: stable profile: minimal target: ${{ matrix.target }} + - name: Update apt repositories (linux) + if: matrix.target == 'aarch64-unknown-linux-gnu' || matrix.target == 'arm-unknown-linux-gnueabihf' + run: sudo apt-get update + - name: Install GCC arm64 (linux) + if: matrix.target == 'aarch64-unknown-linux-gnu' + run: sudo apt-get install gcc-aarch64-linux-gnu + - name: Install GCC armhf (linux) + if: matrix.target == 'arm-unknown-linux-gnueabihf' + run: sudo apt-get install gcc-arm-linux-gnueabihf - run: cargo build --target ${{ matrix.target }} --release - run: npm ci - name: vsce package (unix)