File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -78,12 +78,21 @@ jobs:
7878 } | sudo tee /etc/apt/sources.list.d/arm64.list
7979
8080 sudo apt-get update
81+
82+ GLIB_VERSION="$(apt-cache madison libglib2.0-dev-bin-linux:arm64 | awk 'NR==1 {print $3}')"
83+ if [ -z "${GLIB_VERSION}" ]; then
84+ echo "Unable to resolve libglib2.0-dev-bin-linux:arm64 version"
85+ exit 1
86+ fi
8187
8288 sudo apt-get install -y --allow-downgrades \
8389 gcc-aarch64-linux-gnu \
8490 g++-aarch64-linux-gnu \
8591 pkg-config \
8692 libssl-dev:arm64 \
93+ libglib2.0-dev:arm64=${GLIB_VERSION} \
94+ libglib2.0-dev-bin:arm64=${GLIB_VERSION} \
95+ libglib2.0-dev-bin-linux:arm64=${GLIB_VERSION} \
8796 libwebkit2gtk-4.1-dev:arm64 \
8897 libgtk-3-dev:arm64 \
8998 libayatana-appindicator3-dev:arm64 \
@@ -131,4 +140,3 @@ jobs:
131140 args : >
132141 --target ${{ matrix.target }}
133142 ${{ matrix.bundles && format('--bundles {0}', matrix.bundles) || '' }}
134-
You can’t perform that action at this time.
0 commit comments