Skip to content

Commit

Permalink
Update release-mips32.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
viktorxda committed Apr 1, 2024
1 parent 824300d commit d72a145
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/release-mips32.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ jobs:
ARCHIVE: mips_xburst-gcc13-musl-3_10
PLATFORM: mipsel-openipc-linux-musl_sdk-buildroot
TOOLCHAIN: mipsel-openipc-linux-musl
VERSION: 4.2.3

steps:
- uses: pozetroninc/github-action-get-latest-release@master
Expand Down Expand Up @@ -50,16 +51,19 @@ jobs:
echo "PRERELEASE=$PRERELEASE" >> $GITHUB_ENV
echo "BRANCH_NAME=$BRANCH_NAME" >> $GITHUB_ENV
wget -q https://github.com/upx/upx/releases/download/v$VERSION/upx-$VERSION-amd64_linux.tar.xz
tar -xf upx-$VERSION-amd64_linux.tar.xz --strip-components 1
REL="${{ steps.ct-ng-release.outputs.release }}"
echo "Got release $REL"
wget -qO- https://github.com/OpenIPC/firmware/releases/download/latest/$ARCHIVE.tgz | \
tar xfz - -C /opt
export PATH=/opt/$PLATFORM/bin:$PATH
sudo apt-get install -y cmake upx-ucl
sudo apt-get install -y cmake
cmake -H. -Bbuild -DCMAKE_C_COMPILER=${TOOLCHAIN}-gcc -DCMAKE_BUILD_TYPE=Release
cmake --build build
upx build/ipcinfo
upx build/ipctool
./upx build/ipcinfo
./upx build/ipctool
cp build/ipctool ipctool-$GIT_HASH
continue-on-error: true

Expand Down

0 comments on commit d72a145

Please sign in to comment.