|
|
|
@ -1,6 +1,7 @@
|
|
|
|
|
version: 2
|
|
|
|
|
jobs:
|
|
|
|
|
build_x86_64:
|
|
|
|
|
working_directory: ~/${CIRCLE_PROJECT_REPONAME}
|
|
|
|
|
docker:
|
|
|
|
|
- image: heroku/heroku:16
|
|
|
|
|
steps:
|
|
|
|
@ -14,6 +15,7 @@ jobs:
|
|
|
|
|
path: pkg
|
|
|
|
|
|
|
|
|
|
build_rpi:
|
|
|
|
|
working_directory: ~/${CIRCLE_PROJECT_REPONAME}
|
|
|
|
|
docker:
|
|
|
|
|
- image: heroku/heroku:16
|
|
|
|
|
steps:
|
|
|
|
@ -28,6 +30,20 @@ jobs:
|
|
|
|
|
- store_artifacts:
|
|
|
|
|
path: pkg
|
|
|
|
|
|
|
|
|
|
build_mips:
|
|
|
|
|
working_directory: ~/${CIRCLE_PROJECT_REPONAME}
|
|
|
|
|
docker:
|
|
|
|
|
- image: heroku/heroku:16
|
|
|
|
|
steps:
|
|
|
|
|
- checkout
|
|
|
|
|
- run: apt-get update; apt-get install -y --no-install-recommends cmake autoconf automake libtool git make g++-mips-linux-gnu
|
|
|
|
|
- run: cmake -DCMAKE_TOOLCHAIN_FILE=${CIRCLE_WORKING_DIRECTORY}/mips.toolchain . && make
|
|
|
|
|
- run: cpack .
|
|
|
|
|
- run: cpack -G TGZ .
|
|
|
|
|
- run: mkdir pkg && cp *.deb pkg && cp *.tar.gz pkg
|
|
|
|
|
- store_artifacts:
|
|
|
|
|
path: pkg
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
workflows:
|
|
|
|
|
version: 2
|
|
|
|
@ -35,3 +51,4 @@ workflows:
|
|
|
|
|
jobs:
|
|
|
|
|
- build_x86_64
|
|
|
|
|
- build_rpi
|
|
|
|
|
- build_mips
|
|
|
|
|