Skip to content

Commit

Permalink
Update Release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
bitxeno committed Jun 16, 2024
1 parent f8bc943 commit 929b350
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/Release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@ jobs:
generate_release_notes: true

linux-aarch64:
if: ${{ github.event.act }}
runs-on: ubuntu-22.04
strategy:
matrix:
Expand All @@ -113,21 +112,21 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install Cross-Compile Support
uses: bitxeno/gha-ubuntu-cross@master
- name: Install Cross-Compile Support (ARM64)
uses: cyberjunk/gha-ubuntu-cross@v4
with:
arch: arm64
- name: Install build requirements
run: |
sudo apt-get install -y pkg-config:arm64 libssl-dev:arm64 libudev-dev:arm64 \
udev:arm64 libavahi-client-dev:arm64 checkinstall rename
sudo apt install -y pkg-config checkinstall rename libssl-dev:arm64 libudev-dev:arm64 libavahi-client-dev:arm64
- name: Build dependencies
run: |
mkdir build
cd build
export CC=aarch64-linux-gnu-gcc
export CXX=aarch64-linux-gnu-g++
export PKG_CONFIG_PATH=/usr/lib/aarch64-linux-gnu/pkgconfig
git clone https://github.com/libusb/libusb.git -b v1.0.26
cd libusb
Expand Down Expand Up @@ -172,7 +171,11 @@ jobs:
cd ../../
- name: Build
run: |
./autogen.sh --prefix=/usr --host=aarch64-linux
export CC=aarch64-linux-gnu-gcc
export CXX=aarch64-linux-gnu-g++
export PKG_CONFIG_PATH=/usr/lib/aarch64-linux-gnu/pkgconfig
./autogen.sh --prefix=/usr --disable-static --without-cython --host=aarch64-linux
make
sudo checkinstall -y --pkgname=usbmuxd2 --pkgversion=1.0.0 --pkgarch=arm64
- name: Compress build files
Expand Down

0 comments on commit 929b350

Please sign in to comment.