- 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.
Must be one of the valid Ubuntu architectures. Tested with:
- arm64
- armhf
- i386
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