1
0
mirror of https://github.com/elua/elua.git synced 2025-01-25 01:02:54 +08:00
elua/.circleci/config.yml

31 lines
976 B
YAML
Raw Normal View History

2018-05-19 16:43:54 +03:00
version: 2
jobs:
build:
docker:
- image: circleci/python:2.7-stretch
2018-05-19 16:43:54 +03:00
steps:
- checkout
- restore_cache:
key: bindir
2018-05-19 16:43:54 +03:00
- run:
name: Install extra software
command: |
sudo apt-get install lua5.1
sudo apt-get install luarocks
sudo luarocks install luafilesystem
sudo luarocks install lpack
sudo luarocks install md5
if [ ! -d bin ]; then
mkdir bin
cd bin
wget https://developer.arm.com/-/media/Files/downloads/gnu-rm/7-2017q4/gcc-arm-none-eabi-7-2017-q4-major-linux.tar.bz2
tar xvfj gcc-arm-none-eabi-7-2017-q4-major-linux.tar.bz2
fi
- save_cache:
key: bindir
paths:
- "bin"
2018-05-19 16:43:54 +03:00
- run:
2018-05-20 23:08:51 +03:00
name: Build eLua
command: PATH=$PATH:$(readlink -f bin/gcc-arm-none-eabi-7-2017-q4-major/bin) lua .circleci/ci_builder.lua