Skip to content

CI

CI #38

Workflow file for this run

name: CI
on:
push:
pull_request:
workflow_dispatch:
repository_dispatch:
schedule:
- cron: '0 0 1 * *'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout repository
uses: actions/checkout@v3
- name: checkout submodules
run: git submodule update --init --remote --recursive
- name: install dependencies
run: |
sudo apt-get -y -qq update
sudo apt-get -y -qq install cmake ninja-build
- name: install arm-none-eabi-gcc
run: |
wget -q https://developer.arm.com/-/media/Files/downloads/gnu/13.2.rel1/binrel/arm-gnu-toolchain-13.2.rel1-x86_64-arm-none-eabi.tar.xz
tar -xf arm-gnu-toolchain-13.2.rel1-x86_64-arm-none-eabi.tar.xz
echo "${{github.workspace}}/arm-gnu-toolchain-13.2.Rel1-x86_64-arm-none-eabi/bin" >> $GITHUB_PATH
- name: check arm-none-eabi-gcc version
run: arm-none-eabi-gcc -v
- name: make test
run: |
cmake -S. -Bbuild -GNinja
cmake --build build -v