Skip to content

embedd-actions/armgcc-install

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

armgcc-install

A dedicated GitHub Action for installing and caching the ARM GCC cross-compiler toolchain. It helps you quickly and automatically configure ARM development environment in your CI/CD pipeline.

Background

Most GitHub Action runners don't come with pre-installed GCC toolchains required for embedded development. While installation through package managers is possible, it's often time-consuming and impacts CI/CD efficiency.

This Action implements smart caching mechanisms by downloading and extracting the GCC toolchain to the runner.temp directory, significantly improving subsequent build speeds. It's particularly beneficial for projects requiring frequent commits and builds.

Usage

Add the following configuration to your workflow file (e.g., .github/workflows/build.yml):

steps:
  - uses: embedd-actions/armgcc-install@v1
    with:
      version: '13.3.rel1'

Available Versions

For available versions, please refer to ARM GNU Toolchain Downloads

Available Targets

  • arm-none-eabi - For bare-metal ARM development
  • arm-none-linux-gnueabihf - For ARM Linux development (hard float)
  • aarch64-none-elf - For 64-bit ARM bare-metal development
  • aarch64-none-linux-gnu - For 64-bit ARM Linux development

Example Workflow

name: Build Firmware

on:
  push:
    branches: [ main, dev ]

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
    
    - uses: actions/checkout@v4

    - name: Install ARM GCC
      uses: embedd-actions/armgcc-install@v1
      with:
        version: '13.3.rel1'

    - name: Build Project
      run: arm-none-eabi-gcc --version

About

Install the ARM GCC toolchain

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors