1
mirror of https://github.com/rclone/rclone synced 2024-11-11 09:30:44 +01:00

add circleci configuration

This commit is contained in:
Bill Zissimopoulos 2017-05-15 23:07:07 -07:00 committed by Nick Craig-Wood
parent 95c0378e3c
commit e19fc49a5f

30
.circleci/config.yml Normal file
View File

@ -0,0 +1,30 @@
version: 2
jobs:
build:
machine: true
working_directory: ~/.go_workspace/src/github.com/ncw/rclone
steps:
- checkout
- run:
name: Cross-compile rclone
command: |
docker pull billziss/xgo-cgofuse
go get -v github.com/karalabe/xgo
xgo \
--image=billziss/xgo-cgofuse \
--targets=darwin/386,darwin/amd64,linux/386,linux/amd64,windows/386,windows/amd64 \
.
- run:
name: Prepare artifacts
command: |
mkdir -p /tmp/rclone.dist
cp -R rclone-* /tmp/rclone.dist
- store_artifacts:
path: /tmp/rclone.dist