check if commit is on master

This commit is contained in:
abejgonzalez
2019-06-02 23:25:51 -07:00
parent c037a6fe8b
commit eb93ace725
2 changed files with 59 additions and 0 deletions

View File

@@ -5,6 +5,22 @@ version: 2
# set of jobs to run
jobs:
commit-on-master-check:
docker:
- image: riscvboom/riscvboom-images:0.0.5
environment:
JVM_OPTS: -Xmx3200m # Customize the JVM maximum heap limit
TERM: dumb
steps:
# Checkout the code
- checkout
- run:
name: Check commits of each submodule
command: |
.circleci/check-commit.sh
install-riscv-toolchain:
docker:
- image: riscvboom/riscvboom-images:0.0.5
@@ -470,6 +486,9 @@ workflows:
version: 2
build-and-test-rebar-integration:
jobs:
# check to make sure commits are on master
- commit-on-master-check
# Make the toolchains
- install-riscv-toolchain