Check whether it compiles on push
This commit is contained in:
parent
b27ae62e09
commit
47a2c10da3
|
@ -7,4 +7,4 @@ steps:
|
|||
commands:
|
||||
- apt update -y
|
||||
- apt install -y make zip tar
|
||||
- make
|
||||
- make test
|
2
Makefile
2
Makefile
|
@ -5,3 +5,5 @@ publish/mono:
|
|||
publish/%:
|
||||
mkdir -p $@ || true && cd "TYTDLite.ServerCli" && dotnet publish -c Release -o ../$@ --self-contained -p:PublishReadyToRun=true -p:PublishSingleFile=true -r $(notdir $@)
|
||||
|
||||
test:
|
||||
cd TYTDLite.ServerCli && dotnet build && cd ../TYTDLite.ServerNetFwMono/ && dotnet build
|
Loading…
Reference in New Issue