38 lines
552 B
YAML
38 lines
552 B
YAML
#kind: pipeline
|
|
#type: exec
|
|
#name: default
|
|
#
|
|
#steps:
|
|
# - name: default
|
|
# commands:
|
|
# - echo hello world
|
|
# - name: default
|
|
# commands:
|
|
# - echo hello world
|
|
#
|
|
#trigger:
|
|
# branch:
|
|
# - main
|
|
#
|
|
##node:
|
|
# #lights: builder
|
|
|
|
kind: pipeline
|
|
type: exec
|
|
name: Build
|
|
|
|
steps:
|
|
- name: build
|
|
commands:
|
|
- ls
|
|
- pwd
|
|
- chown andr3:andr3 -R .
|
|
- su andr3 -c "ll"
|
|
- su andr3 -c "pwd"
|
|
- su andr3 -c "cd src"
|
|
- su andr3 -c "ll"
|
|
- su andr3 -c "cargo build --target=armv7-unknown-linux-gnueabihf"
|
|
|
|
node:
|
|
lights: builder
|