Skip to content

Commit

Permalink
fix: provide toolchain file
Browse files Browse the repository at this point in the history
  • Loading branch information
SpikeHD committed Oct 22, 2024
1 parent be7cfc2 commit 3f736a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -152,15 +152,15 @@ jobs:

- name: (Linux ARMv7) Build Webkit extension
if: matrix.config.target == 'armv7-unknown-linux-gnueabihf'
run: cd src-tauri/extension_webkit && cmake . && cmake --build .
run: cd src-tauri/extension_webkit && cmake -DCMAKE_TOOLCHAIN_FILE=toolchain-armv7.cmake . && cmake --build .
env:
CC: arm-linux-gnueabihf-gcc
PKG_CONFIG_SYSROOT_DIR: /usr/lib/arm-linux-gnueabihf
PKG_CONFIG_PATH: /usr/lib/arm-linux-gnueabihf/pkgconfig

- name: (Linux ARM64) Build Webkit extension
if: matrix.config.target == 'aarch64-unknown-linux-gnu'
run: cd src-tauri/extension_webkit && cmake . && cmake --build .
run: cd src-tauri/extension_webkit && cmake -DCMAKE_TOOLCHAIN_FILE=toolchain-arm64.cmake . && cmake --build .
env:
CC: aarch64-linux-gnu-gcc
PKG_CONFIG_SYSROOT_DIR: /usr/lib/aarch64-linux-gnu
Expand Down

0 comments on commit 3f736a4

Please sign in to comment.