Skip to content

Commit

Permalink
add missing clang dependency for cross compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
photovoltex committed Jan 12, 2025
1 parent a872991 commit c9ea47f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ jobs:
uses: actions/[email protected]

- name: Install toolchain
run: curl https://sh.rustup.rs -sSf | sh -s -- --profile minimal --default-toolchain ${{ matrix.toolchain }} -y
run: curl https://sh.rustup.rs -sSf | sh -s -- --profile minimal --default-toolchain ${{ matrix.toolchain }} -y

- name: Get Rustc version
id: get-rustc-version
Expand All @@ -245,13 +245,13 @@ jobs:
- name: Install cross compiler
run: |
if [ ${{ matrix.target }} = "armv7-unknown-linux-gnueabihf" ]; then
sudo apt-get install -y gcc-arm-linux-gnueabihf
sudo apt-get install -y gcc-arm-linux-gnueabihf libclang-dev
fi
if [ ${{ matrix.target }} = "aarch64-unknown-linux-gnu" ]; then
sudo apt-get install -y gcc-aarch64-linux-gnu
sudo apt-get install -y gcc-aarch64-linux-gnu libclang-dev
fi
if [ ${{ matrix.target }} = "riscv64gc-unknown-linux-gnu" ]; then
sudo apt-get install -y gcc-riscv64-linux-gnu
sudo apt-get install -y gcc-riscv64-linux-gnu libclang-dev
fi
- name: Set target link compiler
Expand Down

0 comments on commit c9ea47f

Please sign in to comment.