Skip to content
play

GitHub Action

Cross-Compile Support on Ubuntu

v5 Latest version

Cross-Compile Support on Ubuntu

play

Cross-Compile Support on Ubuntu

Adds APT package repository for Ubuntu architecture and installs cross-compile packages from it

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Cross-Compile Support on Ubuntu

uses: cyberjunk/gha-ubuntu-cross@v5

Learn more about this action in cyberjunk/gha-ubuntu-cross

Choose a version

Github Action for Cross-Compile Support on Ubuntu

CI

Description

  • Requires AMD64 Ubuntu 20.04, 22.04 or 24.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@v5
    with:
      arch: arm64
      
  - name: Install libx11-dev for ARM64
    run: sudo apt-get install libx11-dev:arm64