Skip to content

Commit

Permalink
Sync workflow files
Browse files Browse the repository at this point in the history
  • Loading branch information
viktorxda committed Mar 20, 2024
1 parent d22f8b2 commit 7f4db40
Showing 1 changed file with 8 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: ipctool-build
name: ipctool-arm32

on:
push:
Expand All @@ -14,7 +14,9 @@ jobs:
runs-on: ubuntu-latest

env:
TOOLCHAIN: arm-unknown-linux-musleabi
ARCHIVE: arm-gcc12-musl-3_0
PLATFORM: arm-openipc-linux-musleabi_sdk-buildroot
TOOLCHAIN: arm-openipc-linux-musleabi

steps:
- uses: pozetroninc/github-action-get-latest-release@master
Expand Down Expand Up @@ -50,10 +52,10 @@ jobs:
REL="${{ steps.ct-ng-release.outputs.release }}"
echo "Got release $REL"
wget -qO- https://github.com/widgetii/ct-ng-builds/releases/download/$REL/$TOOLCHAIN.tar.xz | \
tar xfJ - -C /opt
export PATH=/opt/$TOOLCHAIN/bin:$PATH
sudo apt install -y cmake upx-ucl
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
cmake -H. -Bbuild -DCMAKE_C_COMPILER=${TOOLCHAIN}-gcc -DCMAKE_BUILD_TYPE=Release
cmake --build build
upx build/ipcinfo
Expand Down

0 comments on commit 7f4db40

Please sign in to comment.