From a8034a7fdfe3c94757cc935bd379ccafe694b5e3 Mon Sep 17 00:00:00 2001 From: Anne Jan Brouwer <brouwer@annejan.com> Date: Thu, 6 Jun 2019 14:14:26 +0200 Subject: [PATCH] just micropython in ci --- .gitlab-ci.yml | 11 +++++++++++ README.md | 3 +-- 2 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 000000000..1b283d3e4 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,11 @@ +image: "debian" + +build: + stage: build + before_script: + - apt update -qq && apt install -y -qq gcc-arm-none-eabi python3-pip git + - pip3 install crc16 + - ln -s /usr/bin/python3 /usr/bin/python + script: + - git clone --branch wip-bootstrap https://git.card10.badge.events.ccc.de/annejan/firmware.git + - make -C ports/card10 SDK_LOCATION=`pwd`/firmware/sdk diff --git a/README.md b/README.md index d43a79a20..7b7b718e3 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,6 @@ Original README in [`README-OLD.md`](./README-OLD.md). Build the card10 port using ```bash -cd ports/card10 -make SDK_LOCATION=/path/to/firmware/sdk +make -C ports/card10 SDK_LOCATION=/path/to/firmware/sdk ``` If everything goes well, you'll end up with a file `ports/card10/build/firmware.elf`. -- GitLab