Skip to content

Update README.md

Update README.md #18

Workflow file for this run

name: Build
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
workflow_dispatch:
env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
BUILD_TYPE: Release
jobs:
build:
# The CMake configure and build commands are platform agnostic and should work equally well on Windows or Mac.
# You can convert this to a matrix build if you need cross-platform coverage.
# See: https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix
runs-on: ubuntu-latest
steps:
- name: Checkout repository and submodules with token
uses: actions/checkout@v3
with:
submodules: true
token: ${{ secrets.TOKEN }}
- name: Install dependencies
run: sudo apt install -y cmake gcc-arm-none-eabi libnewlib-arm-none-eabi build-essential libstdc++-arm-none-eabi-newlib
- name: Build
run: cd build; make release
- name: Archive production artifacts
uses: actions/upload-artifact@v3
with:
name: Compilation
path: build/release/Wireless_neuron.hex.hex