diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..88edb6d --- /dev/null +++ b/.drone.yml @@ -0,0 +1,21 @@ +kind: pipeline +type: docker +name: default + +workspace: + path: /build + +steps: +- name: library + image: macjustice/git-lfs:latest + commands: + - git clone https://gitea.moonside.games/MoonsideGames/physfslibs.git + - mv /build/physfslibs/lib64/libphysfs.so.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 diff --git a/.gitignore b/.gitignore index 2c4d113..8ad4f0f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,7 @@ ## Ignore Visual Studio temporary files, build results, and ## files generated by popular Visual Studio add-ons. -lib/ +libs/ # User-specific files *.suo diff --git a/README.md b/README.md index 220d9d2..6a375fb 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # MoonTools.NETPhysFS +[![Build Status](https://drone.moonside.games/api/badges/MoonsideGames/MoonTools.NETPhysFS/status.svg)](https://drone.moonside.games/MoonsideGames/MoonTools.NETPhysFS) + ## PhysFS wrapper for .NET Standard This library is a .NET Standard wrapper around the cross-platform IO libary [PhysFS](https://icculus.org/physfs/).