PkmnLibSharp/.drone.yml

18 lines
473 B
YAML
Raw Normal View History

2020-05-03 11:02:27 +02:00
kind: pipeline
name: default
type: docker
steps:
- name: Build
2020-05-03 16:26:14 +02:00
image: deukhoofd/dotnet-builder
2020-05-03 11:02:27 +02:00
commands:
2020-05-03 16:32:18 +02:00
- export PATH=$PATH:$HOME/dotnet
- export DOTNET_ROOT=$PATH:$HOME/dotnet
2020-12-31 12:54:33 +01:00
- dotnet build -c Release /p:platform=x64
2020-05-03 11:02:27 +02:00
- name: Tests
2020-05-03 16:26:14 +02:00
image: deukhoofd/dotnet-builder
2020-05-03 11:02:27 +02:00
commands:
2020-05-03 16:32:18 +02:00
- export PATH=$PATH:$HOME/dotnet
- export DOTNET_ROOT=$PATH:$HOME/dotnet
2020-05-03 16:26:14 +02:00
- export LD_LIBRARY_PATH=.
2020-12-31 12:54:33 +01:00
- dotnet test -v n /p:platform=x64