Rewrite Circle config to hopefully support gcc-arm-embedded needed by atmel-samd
This commit is contained in:
parent
6d204176e0
commit
614f49759f
@ -2,19 +2,26 @@ version: 2
|
||||
jobs:
|
||||
lint:
|
||||
docker:
|
||||
- image: 'python:3.7'
|
||||
- image: 'ubuntu:bionic'
|
||||
|
||||
environment:
|
||||
KMK_TEST: 1
|
||||
PIPENV_VENV_IN_PROJECT: 1
|
||||
|
||||
steps:
|
||||
- run: apt-get update && apt-get install -y software-properties-common git ssh wget
|
||||
- run: add-apt-repository ppa:deadsnakes/ppa
|
||||
- run: apt-get update && apt-get install -y python3.7 python3.7-dev build-essential
|
||||
- run: wget https://bootstrap.pypa.io/get-pip.py -O /tmp/get-pip.py
|
||||
- run: python3.7 /tmp/get-pip.py
|
||||
- run: python3.7 -m pip install pip==18.0 # downgrade pip to work around https://github.com/pypa/pipenv/issues/2924
|
||||
|
||||
- checkout
|
||||
- restore_cache:
|
||||
keys:
|
||||
- v1-kmk-venv-{{ checksum "Pipfile.lock" }}
|
||||
|
||||
- run: pip install pipenv==2018.7.1
|
||||
- run: python3.7 -m pip install pipenv==2018.7.1
|
||||
- run: make lint
|
||||
|
||||
- save_cache:
|
||||
@ -24,76 +31,104 @@ jobs:
|
||||
|
||||
test:
|
||||
docker:
|
||||
- image: 'python:3.7'
|
||||
- image: 'ubuntu:bionic'
|
||||
|
||||
environment:
|
||||
KMK_TEST: 1
|
||||
PIPENV_VENV_IN_PROJECT: 1
|
||||
|
||||
steps:
|
||||
- run: apt-get update && apt-get install -y software-properties-common git ssh
|
||||
- run: add-apt-repository ppa:team-gcc-arm-embedded/ppa
|
||||
- run: add-apt-repository ppa:deadsnakes/ppa
|
||||
- run: apt-get update && apt-get install -y gcc-arm-embedded gettext wget unzip rsync python3.7 python3.7-dev build-essential
|
||||
- run: wget https://bootstrap.pypa.io/get-pip.py -O /tmp/get-pip.py
|
||||
- run: python3.7 /tmp/get-pip.py
|
||||
- run: python3.7 -m pip install pip==18.0 # downgrade pip to work around https://github.com/pypa/pipenv/issues/2924
|
||||
|
||||
- checkout
|
||||
- restore_cache:
|
||||
keys:
|
||||
- v1-kmk-venv-{{ checksum "Pipfile.lock" }}
|
||||
|
||||
- run: pip install pipenv==2018.7.1
|
||||
- run: apt-get update && apt-get install -y gcc-arm-none-eabi gettext wget unzip rsync
|
||||
- run: python3.7 -m pip install pipenv==2018.7.1
|
||||
- run: make test
|
||||
|
||||
build_feather_m4_express:
|
||||
docker:
|
||||
- image: 'python:3.7'
|
||||
- image: 'ubuntu:bionic'
|
||||
|
||||
environment:
|
||||
KMK_TEST: 1
|
||||
PIPENV_VENV_IN_PROJECT: 1
|
||||
|
||||
steps:
|
||||
- run: apt-get update && apt-get install -y software-properties-common git ssh
|
||||
- run: add-apt-repository ppa:team-gcc-arm-embedded/ppa
|
||||
- run: add-apt-repository ppa:deadsnakes/ppa
|
||||
- run: apt-get update && apt-get install -y gcc-arm-embedded gettext wget unzip rsync python3.7 python3.7-dev build-essential
|
||||
- run: wget https://bootstrap.pypa.io/get-pip.py -O /tmp/get-pip.py
|
||||
- run: python3.7 /tmp/get-pip.py
|
||||
- run: python3.7 -m pip install pip==18.0 # downgrade pip to work around https://github.com/pypa/pipenv/issues/2924
|
||||
|
||||
- checkout
|
||||
- restore_cache:
|
||||
keys:
|
||||
- v1-kmk-venv-{{ checksum "Pipfile.lock" }}
|
||||
|
||||
- run: pip install pipenv==2018.7.1
|
||||
- run: apt-get update && apt-get install -y gcc-arm-none-eabi gettext wget unzip rsync
|
||||
- run: python3.7 -m pip install pipenv==2018.7.1
|
||||
|
||||
- run: make SKIP_KEYMAP_VALIDATION=1 USER_KEYMAP=user_keymaps/noop.py build-feather-m4-express
|
||||
|
||||
build_itsybitsy_m4_express:
|
||||
docker:
|
||||
- image: 'python:3.7'
|
||||
- image: 'ubuntu:bionic'
|
||||
|
||||
environment:
|
||||
KMK_TEST: 1
|
||||
PIPENV_VENV_IN_PROJECT: 1
|
||||
|
||||
steps:
|
||||
- run: apt-get update && apt-get install -y software-properties-common git ssh
|
||||
- run: add-apt-repository ppa:team-gcc-arm-embedded/ppa
|
||||
- run: add-apt-repository ppa:deadsnakes/ppa
|
||||
- run: apt-get update && apt-get install -y gcc-arm-embedded gettext wget unzip rsync python3.7 python3.7-dev build-essential
|
||||
- run: wget https://bootstrap.pypa.io/get-pip.py -O /tmp/get-pip.py
|
||||
- run: python3.7 /tmp/get-pip.py
|
||||
- run: python3.7 -m pip install pip==18.0 # downgrade pip to work around https://github.com/pypa/pipenv/issues/2924
|
||||
|
||||
- checkout
|
||||
- restore_cache:
|
||||
keys:
|
||||
- v1-kmk-venv-{{ checksum "Pipfile.lock" }}
|
||||
|
||||
- run: pip install pipenv==2018.7.1
|
||||
- run: apt-get update && apt-get install -y gcc-arm-none-eabi gettext wget unzip rsync
|
||||
- run: python3.7 -m pip install pipenv==2018.7.1
|
||||
|
||||
- run: make SKIP_KEYMAP_VALIDATION=1 USER_KEYMAP=user_keymaps/noop.py build-itsybitsy-m4-express
|
||||
|
||||
build_pyboard:
|
||||
docker:
|
||||
- image: 'python:3.7'
|
||||
- image: 'ubuntu:bionic'
|
||||
|
||||
environment:
|
||||
KMK_TEST: 1
|
||||
PIPENV_VENV_IN_PROJECT: 1
|
||||
|
||||
steps:
|
||||
- run: apt-get update && apt-get install -y software-properties-common git ssh
|
||||
- run: add-apt-repository ppa:team-gcc-arm-embedded/ppa
|
||||
- run: add-apt-repository ppa:deadsnakes/ppa
|
||||
- run: apt-get update && apt-get install -y gcc-arm-embedded gettext wget unzip rsync python3.7 python3.7-dev build-essential
|
||||
- run: wget https://bootstrap.pypa.io/get-pip.py -O /tmp/get-pip.py
|
||||
- run: python3.7 /tmp/get-pip.py
|
||||
- run: python3.7 -m pip install pip==18.0 # downgrade pip to work around https://github.com/pypa/pipenv/issues/2924
|
||||
|
||||
- checkout
|
||||
- restore_cache:
|
||||
keys:
|
||||
- v1-kmk-venv-{{ checksum "Pipfile.lock" }}
|
||||
|
||||
- run: pip install pipenv==2018.7.1
|
||||
- run: apt-get update && apt-get install -y gcc-arm-none-eabi gettext wget unzip rsync
|
||||
- run: python3.7 -m pip install pipenv==2018.7.1
|
||||
|
||||
- run: make SKIP_KEYMAP_VALIDATION=1 USER_KEYMAP=user_keymaps/noop.py build-pyboard
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user