diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000000000000000000000000000000000000..1b283d3e430dbbe2cb06e7d305100894a2b5a444 --- /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 d43a79a2073397e1161ed3363f52988497d5e01f..7b7b718e3b0f5c51c8177329f333857cb176bd3f 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`.