Check whether it compiles on push

This commit is contained in:
Mike Nolan 2024-07-07 19:30:14 -05:00
parent b27ae62e09
commit 47a2c10da3
2 changed files with 3 additions and 1 deletions

View File

@ -7,4 +7,4 @@ steps:
commands:
- apt update -y
- apt install -y make zip tar
- make
- make test

View File

@ -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