mirror of
https://github.com/yuezk/GlobalProtect-openconnect.git
synced 2026-11-21 07:16:17 -05:00
ci(nsh): remove ICU4C build dependency
This commit is contained in:
2 files changed
+6
-6
No files matched your search
@@ -62,9 +62,9 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install -y autoconf automake gettext libtool pkg-config \
|
sudo apt-get install -y autoconf automake gettext libtool pkg-config \
|
||||||
clang libclang-dev libgtk-4-dev libicu-dev libxml2-dev libssl-dev \
|
clang libclang-dev libgtk-4-dev libxml2-dev libssl-dev \
|
||||||
libgnutls28-dev liblz4-dev libwayland-dev libxkbcommon-dev libdbus-1-dev
|
libgnutls28-dev liblz4-dev libwayland-dev libxkbcommon-dev libdbus-1-dev
|
||||||
pkg-config --exists gtk4 icu-i18n icu-uc openssl dbus-1 wayland-client xkbcommon
|
pkg-config --exists gtk4 openssl dbus-1 wayland-client xkbcommon
|
||||||
- name: Install the NSH compiler
|
- name: Install the NSH compiler
|
||||||
run: rustup toolchain install 1.97.0 --profile minimal
|
run: rustup toolchain install 1.97.0 --profile minimal
|
||||||
- name: Cache public crate downloads
|
- name: Cache public crate downloads
|
||||||
@@ -90,9 +90,9 @@ jobs:
|
|||||||
archive="gpgui-nsh_$(uname -m).bin.tar.xz"
|
archive="gpgui-nsh_$(uname -m).bin.tar.xz"
|
||||||
mkdir -p ".build/package/$directory"
|
mkdir -p ".build/package/$directory"
|
||||||
cp target/release/gpgui-nsh ".build/package/$directory/"
|
cp target/release/gpgui-nsh ".build/package/$directory/"
|
||||||
cp /usr/share/doc/libicu-dev/copyright ".build/package/$directory/ICU-LICENSE.txt"
|
cp apps/desktop-nsh/ICU4X-LICENSE.txt ".build/package/$directory/ICU4X-LICENSE.txt"
|
||||||
if ldd target/release/gpgui-nsh | grep -q 'libicu'; then
|
if ldd target/release/gpgui-nsh | grep -q 'libicu'; then
|
||||||
echo "The release executable must not depend on a distro-specific ICU library." >&2
|
echo "The release executable must not depend on ICU4C." >&2
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
tar -cJf ".build/package/$archive" -C .build/package "$directory"
|
tar -cJf ".build/package/$archive" -C .build/package "$directory"
|
||||||
|
|||||||
@@ -78,9 +78,9 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install -y autoconf automake gettext libtool pkg-config \
|
sudo apt-get install -y autoconf automake gettext libtool pkg-config \
|
||||||
clang libclang-dev libgtk-4-dev libicu-dev libxml2-dev libssl-dev \
|
clang libclang-dev libgtk-4-dev libxml2-dev libssl-dev \
|
||||||
libgnutls28-dev liblz4-dev libwayland-dev libxkbcommon-dev libdbus-1-dev
|
libgnutls28-dev liblz4-dev libwayland-dev libxkbcommon-dev libdbus-1-dev
|
||||||
pkg-config --exists gtk4 icu-i18n icu-uc openssl dbus-1 wayland-client xkbcommon
|
pkg-config --exists gtk4 openssl dbus-1 wayland-client xkbcommon
|
||||||
- name: Install macOS dependencies
|
- name: Install macOS dependencies
|
||||||
if: matrix.platform == 'macos'
|
if: matrix.platform == 'macos'
|
||||||
env:
|
env:
|
||||||
|
|||||||
Reference in new issue
Block a user