Skip to content

Commit 49d6a8f

Browse files
authored
Update release-arm32.yml
1 parent f53f740 commit 49d6a8f

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/release-arm32.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ jobs:
1717
ARCHIVE: arm-gcc13-musl-3_0
1818
PLATFORM: arm-openipc-linux-musleabi_sdk-buildroot
1919
TOOLCHAIN: arm-openipc-linux-musleabi
20+
VERSION: 4.2.3
2021

2122
steps:
2223
- uses: pozetroninc/github-action-get-latest-release@master
@@ -50,16 +51,19 @@ jobs:
5051
echo "PRERELEASE=$PRERELEASE" >> $GITHUB_ENV
5152
echo "BRANCH_NAME=$BRANCH_NAME" >> $GITHUB_ENV
5253
54+
wget -q https://github.com/upx/upx/releases/download/v$VERSION/upx-$VERSION-amd64_linux.tar.xz
55+
tar -xf upx-$VERSION-amd64_linux.tar.xz --strip-components 1
56+
5357
REL="${{ steps.ct-ng-release.outputs.release }}"
5458
echo "Got release $REL"
5559
wget -qO- https://github.com/OpenIPC/firmware/releases/download/latest/$ARCHIVE.tgz | \
5660
tar xfz - -C /opt
5761
export PATH=/opt/$PLATFORM/bin:$PATH
58-
sudo apt-get install -y cmake upx-ucl
62+
sudo apt-get install -y cmake
5963
cmake -H. -Bbuild -DCMAKE_C_COMPILER=${TOOLCHAIN}-gcc -DCMAKE_BUILD_TYPE=Release
6064
cmake --build build
61-
upx build/ipcinfo
62-
upx build/ipctool
65+
./upx build/ipcinfo
66+
./upx build/ipctool
6367
cp build/ipctool ipctool-$GIT_HASH
6468
continue-on-error: true
6569

0 commit comments

Comments
 (0)