Skip to content

Commit

Permalink
Migrate from CircleCI 1.0 to 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
devanlai committed Feb 28, 2018
1 parent a6d4d4f commit 6b5aa9e
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 12 deletions.
25 changes: 25 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
version: 2
jobs:
build:
machine: true
steps:
- checkout
- run:
name: Checkout submodules
command: git submodule sync && git submodule update --init
- restore_cache:
key: v1-toolchain-checksum-{{ checksum "util/install-toolchain.sh" }}
- run:
name: Install toolchain
command: ./util/install-toolchain.sh
- save_cache:
key: v1-toolchain-checksum-{{ checksum "util/install-toolchain.sh" }}
paths:
- "~/toolchains/"
- run:
name: Compile firmware
command: make -k all
environment:
PREFIX: "~/toolchains/gcc-arm-embedded/bin/arm-none-eabi"
- store_artifacts:
path: build/
12 changes: 0 additions & 12 deletions circle.yml

This file was deleted.

0 comments on commit 6b5aa9e

Please sign in to comment.