mirror of
https://github.com/kunkunsh/kunkun-ext-neohtop.git
synced 2025-04-04 09:46:43 +00:00
fixing pkg-config in aarch64 workflow
This commit is contained in:
parent
d2283a4def
commit
7b0206db71
25
.github/workflows/linux-aarch64-nightly.yml
vendored
25
.github/workflows/linux-aarch64-nightly.yml
vendored
@ -7,6 +7,9 @@ on:
|
||||
|
||||
env:
|
||||
CARGO_TERM_COLOR: always
|
||||
PKG_CONFIG_ALLOW_CROSS: 1
|
||||
PKG_CONFIG_PATH: /usr/lib/aarch64-linux-gnu/pkgconfig
|
||||
PKG_CONFIG: /usr/bin/aarch64-linux-gnu-pkg-config
|
||||
|
||||
jobs:
|
||||
build:
|
||||
@ -29,19 +32,27 @@ jobs:
|
||||
|
||||
- name: Install Linux Dependencies
|
||||
run: |
|
||||
sudo dpkg --add-architecture arm64
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y \
|
||||
build-essential \
|
||||
pkg-config \
|
||||
pkg-config-aarch64-linux-gnu \
|
||||
gcc-aarch64-linux-gnu \
|
||||
g++-aarch64-linux-gnu \
|
||||
libgtk-3-dev \
|
||||
libayatana-appindicator3-dev \
|
||||
librsvg2-dev \
|
||||
libglib2.0-dev \
|
||||
libjavascriptcoregtk-4.0-dev \
|
||||
libsoup-3.0-dev \
|
||||
libwebkit2gtk-4.1-dev
|
||||
libgtk-3-dev:arm64 \
|
||||
libayatana-appindicator3-dev:arm64 \
|
||||
librsvg2-dev:arm64 \
|
||||
libglib2.0-dev:arm64 \
|
||||
libjavascriptcoregtk-4.0-dev:arm64 \
|
||||
libsoup-3.0-dev:arm64 \
|
||||
libwebkit2gtk-4.1-dev:arm64
|
||||
|
||||
- name: Configure Cross-Compilation
|
||||
run: |
|
||||
echo "PKG_CONFIG_PATH=/usr/lib/aarch64-linux-gnu/pkgconfig" >> $GITHUB_ENV
|
||||
echo "PKG_CONFIG=/usr/bin/aarch64-linux-gnu-pkg-config" >> $GITHUB_ENV
|
||||
echo "PKG_CONFIG_ALLOW_CROSS=1" >> $GITHUB_ENV
|
||||
|
||||
- name: Install Dependencies
|
||||
run: npm install
|
||||
|
Loading…
x
Reference in New Issue
Block a user