/gha-ubuntu-cross

Cross-Compile Support on Ubuntu

MIT LicenseMIT

Github Action for Cross-Compile Support on Ubuntu

CI

Description

  • Requires AMD64 Ubuntu 18.04, 20.04 or 22.04.
  • Adds Ubuntu APT package repository for input parameter arch.
  • Installs cross-compile packages from added repository.

Input Parameter: arch

Must be one of the valid Ubuntu architectures. Tested with:

  • arm64
  • armhf
  • i386

Example

  steps:
  
  - name: Install Cross-Compile Support (ARM64)
    uses: cyberjunk/gha-ubuntu-cross@v2
    with:
      arch: arm64
      
  - name: Install libx11-dev for ARM64
    run: sudo apt-get install libx11-dev:arm64