Compare commits
No commits in common. "5bd8cd56da23a0325d7280414c779a17a138bf97" and "b27ae62e095e949ecd9896c57738980f7f30f5cb" have entirely different histories.
5bd8cd56da
...
b27ae62e09
|
@ -7,4 +7,4 @@ steps:
|
||||||
commands:
|
commands:
|
||||||
- apt update -y
|
- apt update -y
|
||||||
- apt install -y make zip tar
|
- apt install -y make zip tar
|
||||||
- make test
|
- make
|
|
@ -7,6 +7,7 @@ steps:
|
||||||
commands:
|
commands:
|
||||||
- apt update -y
|
- apt update -y
|
||||||
- apt install -y make zip tar
|
- apt install -y make zip tar
|
||||||
|
- make
|
||||||
- bash publish.sh
|
- bash publish.sh
|
||||||
volumes:
|
volumes:
|
||||||
- /mnt/20TB/Artifacts:/deploy_dir
|
- /mnt/20TB/Artifacts:/deploy_dir
|
4
Makefile
4
Makefile
|
@ -1,9 +1,7 @@
|
||||||
all: publish/mono publish/linux-x64 publish/linux-arm publish/linux-arm64 publish/win-x86 publish/win-x64 publish/win-arm64 publish/osx-x64 publish/osx-arm64
|
all: publish/linux-x64 publish/linux-arm publish/linux-arm64 publish/win-x86 publish/win-x64 publish/win-arm64 publish/osx-x64 publish/osx-arm64 publish/mono
|
||||||
|
|
||||||
publish/mono:
|
publish/mono:
|
||||||
mkdir -p publish/mono || true && cd "TYTDLite.ServerNetFwMono" && dotnet publish -c Release -o ../publish/mono && cd ../publish/mono && tar cvzf ../mono.tar.gz . && zip -r ../mono.zip . && rm -r * && mv ../mono.tar.gz . && mv ../mono.zip .
|
mkdir -p publish/mono || true && cd "TYTDLite.ServerNetFwMono" && dotnet publish -c Release -o ../publish/mono && cd ../publish/mono && tar cvzf ../mono.tar.gz . && zip -r ../mono.zip . && rm -r * && mv ../mono.tar.gz . && mv ../mono.zip .
|
||||||
publish/%:
|
publish/%:
|
||||||
mkdir -p $@ || true && cd "TYTDLite.ServerCli" && dotnet publish -c Release -o ../$@ --self-contained -p:PublishReadyToRun=true -p:PublishSingleFile=true -r $(notdir $@)
|
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
|
|
|
@ -1,3 +1,2 @@
|
||||||
. /deploy_dir/setpath.sh
|
. /deploy_dir/setpath.sh
|
||||||
ln -s "$DEPLOY_DIR" publish
|
cp -r publish/ "$DEPLOY_DIR"
|
||||||
make
|
|
Loading…
Reference in New Issue