36 lines
488 B
YAML
36 lines
488 B
YAML
kind: pipeline
|
|
type: docker
|
|
name: default
|
|
|
|
steps:
|
|
- name: build
|
|
image: archlinux
|
|
commands:
|
|
- pacman -Sy --noconfirm
|
|
- pacman -S cmake make gcc --noconfirm
|
|
- mkdir build
|
|
- export CXX=g++
|
|
- cd build
|
|
- cmake ..
|
|
- make
|
|
|
|
steps:
|
|
- name: test
|
|
image: archlinux
|
|
commands:
|
|
- pacman -Sy --noconfirm
|
|
- pacman -S cmake make gcc --noconfirm
|
|
- mkdir build
|
|
- cd build
|
|
- export CXX=g++
|
|
- cmake ..
|
|
- make
|
|
- ./testbin
|
|
|
|
|
|
|
|
trigger:
|
|
branch:
|
|
- master
|
|
event:
|
|
- push |