Skip to content

Commit

Permalink
ci: install gcc for arm on linux
Browse files Browse the repository at this point in the history
fixes:

/usr/bin/ld: /home/runner/work/typos-vscode/typos-vscode/target/arm-unknown-linux-gnueabihf/release/deps/typos_lsp-058f1f9a1ddcfb38.typos_lsp.55ab5c9440fae0ed-cgu.00.rcgu.o: relocations in generic ELF (EM: 40)
  • Loading branch information
tekumara committed Sep 4, 2023
1 parent 322f6e0 commit ade2681
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ jobs:

dist:
strategy:
# don't cancel other jobs when one fails
fail-fast: false
matrix:
include:
- os: windows-latest
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit ade2681

Please sign in to comment.