Skip to content

Added support for reproducible builds. (#4) #4

Added support for reproducible builds. (#4)

Added support for reproducible builds. (#4) #4

Workflow file for this run

name: Build example
on:
workflow_dispatch:
pull_request:
branches: [main]
push:
branches: [main]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
# https://github.com/ARM-software/cmsis-actions
- name: Activate vcpkg
uses: ARM-software/cmsis-actions/vcpkg@v1
with:
config: "./vcpkg-configuration.json"
# https://github.com/ARM-software/cmsis-actions
- name: Activate Arm tool license
uses: ARM-software/cmsis-actions/armlm@v1
- name: Cache downloaded packs
uses: actions/cache@v4
with:
key: cmsis-packs-download
path: /home/runner/.cache/arm/packs/.Download
# Initialize and update the index of CMSIS packs available online
- name: Initialize CMSIS pack root folder
run: |
cpackget init https://www.keil.com/pack/index.pidx
cpackget update-index
# Build the release and debug executable for the AC6 compiler
- name: Build release and debug executable
run: |
cbuild hello.csolution.yml --packs --context .+IMXRT1050-EVKB --rebuild