add droneCI config
continuous-integration/drone/push Build encountered an error
Details
continuous-integration/drone/push Build encountered an error
Details
parent
e3b729594a
commit
8564a3d204
|
@ -0,0 +1,31 @@
|
||||||
|
kind: pipeline
|
||||||
|
type: docker
|
||||||
|
name: default
|
||||||
|
|
||||||
|
workspace:
|
||||||
|
path: /build
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: library
|
||||||
|
commands:
|
||||||
|
- git clone git@gitea.moonside.games:MoonsideGames/physfslibs.git
|
||||||
|
- mv /build/physfslibs/lib64/libphysfs.3.0.2 /build/physfslibs/lib64/libphysfs.so
|
||||||
|
|
||||||
|
- name: test
|
||||||
|
image: mcr.microsoft.com/dotnet/core/sdk:3.1
|
||||||
|
environment:
|
||||||
|
LD_LIBRARY_PATH: /build/physfslibs/lib64/
|
||||||
|
commands:
|
||||||
|
- dotnet build -c Release
|
||||||
|
- dotnet test -c Release
|
||||||
|
|
||||||
|
- name: deploy
|
||||||
|
image: mcr.microsoft.com/dotnet/core/sdk:3.1
|
||||||
|
environment:
|
||||||
|
API_KEY:
|
||||||
|
from_secret: API_KEY
|
||||||
|
commands:
|
||||||
|
- dotnet nuget push /build/NETPhysFS/bin/Release/MoonTools.NETPhysFS.*.nupkg -s https://api.nuget.org/v3/index.json -k $API_KEY
|
||||||
|
when:
|
||||||
|
ref:
|
||||||
|
- refs/tags/*.*.*
|
|
@ -1,7 +1,7 @@
|
||||||
## Ignore Visual Studio temporary files, build results, and
|
## Ignore Visual Studio temporary files, build results, and
|
||||||
## files generated by popular Visual Studio add-ons.
|
## files generated by popular Visual Studio add-ons.
|
||||||
|
|
||||||
lib/
|
libs/
|
||||||
|
|
||||||
# User-specific files
|
# User-specific files
|
||||||
*.suo
|
*.suo
|
||||||
|
|
Loading…
Reference in New Issue