Skip to content

Commit

Permalink
ci: linux build
Browse files Browse the repository at this point in the history
  • Loading branch information
oomeow committed Oct 30, 2024
1 parent 671435a commit 2c2b4d5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/build-for-linux/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ elif [ "$INPUT_TARGET" = "aarch64-unknown-linux-gnu" ]; then
apt-get update
apt-get autoremove -y
# apt-get install -y libncurses6:arm64 libtinfo6:arm64 linux-libc-dev:arm64 libncursesw6:arm64 libssl3:arm64 libcups2:arm64 libglib2.0-dev:arm64 libcom-err2:arm64 libbrotli1:arm64
apt-get install -y -f --no-install-recommends g++-aarch64-linux-gnu libc6-dev-arm64-cross build-essential:arm64 libgtk-3-dev:arm64 libwebkit2gtk-4.1-dev:arm64 libappindicator3-dev:arm64 librsvg2-dev:arm64 patchelf:arm64 libcom-err2:arm64 libbrotli1:arm64
apt-get install -y build-essential:arm64
apt-get install -y -f --no-install-recommends g++-aarch64-linux-gnu libc6-dev-arm64-cross libgtk-3-dev:arm64 libwebkit2gtk-4.1-dev:arm64 libappindicator3-dev:arm64 librsvg2-dev:arm64 patchelf:arm64 libcom-err2:arm64 libbrotli1:arm64
export CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER=aarch64-linux-gnu-gcc
export CC_aarch64_unknown_linux_gnu=aarch64-linux-gnu-gcc
export CXX_aarch64_unknown_linux_gnu=aarch64-linux-gnu-g++
Expand All @@ -39,7 +40,8 @@ elif [ "$INPUT_TARGET" = "armv7-unknown-linux-gnueabihf" ]; then
apt-get update
# apt-get autoremove -y
# apt-get install -y libncurses6:armhf libtinfo6:armhf linux-libc-dev:armhf libncursesw6:armhf libssl3:armhf libcups2:armhf libglib2.0-dev:armhf libcom-err2:armhf
apt-get install -y --no-install-recommends g++-arm-linux-gnueabihf libc6-dev-armhf-cross build-essential:armhf libgtk-3-dev:armhf libwebkit2gtk-4.1-dev:armhf libappindicator3-dev:armhf librsvg2-dev:armhf patchelf:armhf libcom-err2:armhf
apt-get install -y build-essential:arm64
apt-get install -y --no-install-recommends g++-arm-linux-gnueabihf libc6-dev-armhf-cross libgtk-3-dev:armhf libwebkit2gtk-4.1-dev:armhf libappindicator3-dev:armhf librsvg2-dev:armhf patchelf:armhf libcom-err2:armhf
export CARGO_TARGET_ARMV7_UNKNOWN_LINUX_GNUEABIHF_LINKER=arm-linux-gnueabihf-gcc
export CC_armv7_unknown_linux_gnueabihf=arm-linux-gnueabihf-gcc
export CXX_armv7_unknown_linux_gnueabihf=arm-linux-gnueabihf-g++
Expand Down

0 comments on commit 2c2b4d5

Please sign in to comment.