gluon-ci/.drone.yml

32 lines
597 B
YAML
Raw Normal View History

2019-08-15 16:18:38 +00:00
kind: pipeline
name: gluon-build
2019-08-15 17:11:54 +00:00
clone:
2019-08-15 17:15:25 +00:00
depth: 50
2019-08-15 17:11:54 +00:00
2019-08-15 16:18:38 +00:00
steps:
2019-08-15 17:13:36 +00:00
- name: submodules
image: docker:git
commands:
2019-08-15 17:25:02 +00:00
- ls -alh
2019-08-15 17:20:18 +00:00
- cd gluon
2019-08-15 17:28:18 +00:00
- git pull origin v2018.2.2
2019-08-15 17:26:14 +00:00
- cd ../site
2019-08-15 17:28:18 +00:00
- git pull origin v2018.2-tdf
2019-08-15 17:26:14 +00:00
- cd ..
- ls -alh
2019-08-15 17:25:02 +00:00
- git status
2019-08-15 17:15:25 +00:00
2019-08-15 16:18:38 +00:00
- name: build-ar71xx-generic
image: hoffmannhosting/gluon-builder
commands:
2019-08-15 17:08:27 +00:00
- ls -al
2019-08-15 16:56:28 +00:00
- cd site
2019-08-15 17:17:01 +00:00
- ls -alh
2019-08-15 17:25:02 +00:00
# - git checkout v2018.2-tdf
2019-08-15 17:16:20 +00:00
# - make -j5 GLUON_BRANCH=$branch GLUON_TARGET=ar71xx-generic GLUON_RELEASE=$input_hood-$branch_name-$input_version $gluon_options
2019-08-15 16:18:38 +00:00
environment:
GOOS: linux
GOARCH: amd64
CGO_ENABLED: 0