Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
45 lines (42 sloc) 1.05 KB
version: 2
jobs:
build:
docker:
- image: circleci/python:3.6.9-stretch
steps:
- checkout
- run:
name: Install apt packages
command: 'sudo apt install p7zip-full gcc-arm-none-eabi binutils-arm-none-eabi'
- run:
name: Build Demo
command: |
cd ext
7za x fatfs-0.13c_patched.7z
cd ../demos/STM32/RT-STM32F103-STM3210E_EVAL-FATFS-USB
make
- store_artifacts:
path: ./demos/STM32/RT-STM32F103-STM3210E_EVAL-FATFS-USB/build/ch.elf
unit-test:
docker:
- image: circleci/python:3.6.9-stretch
steps:
- checkout
- run:
name: Intall apt packages
command: 'sudo apt install libc6-dev-i386'
- run:
name: Build Unit Tests
command: |
cd test/rt/testbuild
make
- run:
name: Run Unit Tests
command: |
./test/rt/testbuild/build/ch
workflows:
version: 2
build_and_test:
jobs:
- build
- unit-test
You can’t perform that action at this time.