Skip to content

Commit e1c99ea

Browse files
committed
workflows: pin toolchain version, fixup perl
1 parent 1efcd2e commit e1c99ea

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
workflow_call:
77

88
env:
9-
TOOLCHAIN_URL: https://github.com/openlgtv/buildroot-nc4/releases/latest/download/arm-webos-linux-gnueabi_sdk-buildroot.tar.gz
9+
TOOLCHAIN_URL: https://github.com/openlgtv/buildroot-nc4/releases/download/webos-c592d84/arm-webos-linux-gnueabi_sdk-buildroot.tar.gz
1010
TOOLCHAIN_DIR: /opt/arm-webos-linux-gnueabi_sdk-buildroot
1111
TOOLCHAIN_ENV_FILE: /opt/arm-webos-linux-gnueabi_sdk-buildroot/environment-setup
1212
TOOLCHAIN_FILE: /opt/arm-webos-linux-gnueabi_sdk-buildroot/share/buildroot/toolchainfile.cmake
@@ -63,6 +63,10 @@ jobs:
6363
./relocate-sdk.sh
6464
popd
6565
66+
- name: Fix toolchain (remove perl)
67+
run: |
68+
find ${TOOLCHAIN_DIR}/bin -type f -iname "perl*" -delete
69+
6670
- name: Install native dependencies
6771
env:
6872
apt_deps: ccache git cmake build-essential qtbase5-dev libqt5serialport5-dev libqt5sql5-sqlite libqt5svg5-dev libqt5x11extras5-dev python3-dev libxcb-image0-dev libxcb-util0-dev libxcb-shm0-dev libxcb-render0-dev libxcb-randr0-dev libxrandr-dev libxrender-dev libturbojpeg0-dev libssl-dev libmbedtls-dev
@@ -138,7 +142,7 @@ jobs:
138142
mkdir ./release
139143
cp -r ./${{ env.BUILD_DIR_CROSS }}/bin/* ./release/
140144
find ./release
141-
145+
142146
- name: Copy dependencies to release/
143147
env:
144148
dependency_libs: libpng16.so.16 libjpeg.so.8 libcrypto.so.1.1 libz.so.1 libssl.so.1.1 libQt5Sql.so.5.15.2 libpcre2-16.so.0 libQt5Gui.so.5 libQt5Network.so.5 libQt5Widgets.so.5 libk5crypto.so.3 libatomic.so.1 libQt5Core.so.5 libkrb5support.so.0 libcom_err.so.3 libstdc++.so.6 libkrb5.so.3 libQt5Sql.so.5 libgssapi_krb5.so.2 libQt5SerialPort.so.5 libQt5Sql.so.5.15 libusb-1.0.so.0
@@ -150,7 +154,7 @@ jobs:
150154
cp ${TOOLCHAIN_DIR}/arm-webos-linux-gnueabi/sysroot/usr/lib/qt/plugins/imageformats/libqico.so ./release/imageformats/
151155
cp ${TOOLCHAIN_DIR}/arm-webos-linux-gnueabi/sysroot/usr/lib/qt/plugins/imageformats/libqjpeg.so ./release/imageformats/
152156
find ./release
153-
157+
154158
- name: Upload artifacts
155159
uses: actions/upload-artifact@v3
156160
with:

0 commit comments

Comments
 (0)