Skip to content

Commit 4aa6412

Browse files
authored
Include proxy-liteserver (#1406)
* include into artifacts * include proxy-liteserver into release artifacts
1 parent ed7ac63 commit 4aa6412

File tree

8 files changed

+50
-15
lines changed

8 files changed

+50
-15
lines changed

.github/workflows/create-release.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,14 @@ jobs:
183183
asset_name: lite-client.exe
184184
tag: ${{ steps.tag.outputs.TAG }}
185185

186+
- name: Upload Windows 2019 single artifact - proxy-liteserver
187+
uses: svenstaro/upload-release-action@v2
188+
with:
189+
repo_token: ${{ secrets.GITHUB_TOKEN }}
190+
file: artifacts/ton-win-binaries/proxy-liteserver.exe
191+
asset_name: proxy-liteserver.exe
192+
tag: ${{ steps.tag.outputs.TAG }}
193+
186194
- name: Upload Windows 2019 single artifact - rldp-http-proxy
187195
uses: svenstaro/upload-release-action@v2
188196
with:
@@ -281,6 +289,14 @@ jobs:
281289
asset_name: lite-client-mac-x86-64
282290
tag: ${{ steps.tag.outputs.TAG }}
283291

292+
- name: Upload Mac x86-64 single artifact - proxy-liteserver
293+
uses: svenstaro/upload-release-action@v2
294+
with:
295+
repo_token: ${{ secrets.GITHUB_TOKEN }}
296+
file: artifacts/ton-x86_64-macos-binaries/proxy-liteserver
297+
asset_name: proxy-liteserver-mac-x86-64
298+
tag: ${{ steps.tag.outputs.TAG }}
299+
284300
- name: Upload Mac x86-64 single artifact - rldp-http-proxy
285301
uses: svenstaro/upload-release-action@v2
286302
with:
@@ -380,6 +396,14 @@ jobs:
380396
asset_name: lite-client-mac-arm64
381397
tag: ${{ steps.tag.outputs.TAG }}
382398

399+
- name: Upload Mac arm64 single artifact - proxy-liteserver
400+
uses: svenstaro/upload-release-action@v2
401+
with:
402+
repo_token: ${{ secrets.GITHUB_TOKEN }}
403+
file: artifacts/ton-arm64-macos-binaries/proxy-liteserver
404+
asset_name: proxy-liteserver-mac-arm64
405+
tag: ${{ steps.tag.outputs.TAG }}
406+
383407
- name: Upload Mac arm64 single artifact - rldp-http-proxy
384408
uses: svenstaro/upload-release-action@v2
385409
with:
@@ -478,6 +502,14 @@ jobs:
478502
asset_name: lite-client-linux-x86_64
479503
tag: ${{ steps.tag.outputs.TAG }}
480504

505+
- name: Upload Linux x86-64 single artifact - proxy-liteserver
506+
uses: svenstaro/upload-release-action@v2
507+
with:
508+
repo_token: ${{ secrets.GITHUB_TOKEN }}
509+
file: artifacts/ton-x86_64-linux-binaries/proxy-liteserver
510+
asset_name: proxy-liteserver-linux-x86_64
511+
tag: ${{ steps.tag.outputs.TAG }}
512+
481513
- name: Upload Linux x86-64 single artifact - rldp-http-proxy
482514
uses: svenstaro/upload-release-action@v2
483515
with:

assembly/native/build-macos-portable.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,13 +140,13 @@ if [ "$with_tests" = true ]; then
140140
http-proxy rldp-http-proxy adnl-proxy create-state create-hardfork tlbc emulator \
141141
test-ed25519 test-ed25519-crypto test-bigint test-vm test-fift test-cells test-smartcont \
142142
test-net test-tdactor test-tdutils test-tonlib-offline test-adnl test-dht test-rldp \
143-
test-rldp2 test-catchain test-fec test-tddb test-db test-validator-session-state test-emulator
143+
test-rldp2 test-catchain test-fec test-tddb test-db test-validator-session-state test-emulator proxy-liteserver
144144
test $? -eq 0 || { echo "Can't compile ton"; exit 1; }
145145
else
146146
ninja storage-daemon storage-daemon-cli blockchain-explorer \
147147
tonlib tonlibjson tonlib-cli validator-engine func tolk fift \
148148
lite-client pow-miner validator-engine-console generate-random-id json2tlo dht-server \
149-
http-proxy rldp-http-proxy adnl-proxy create-state create-hardfork tlbc emulator
149+
http-proxy rldp-http-proxy adnl-proxy create-state create-hardfork tlbc emulator proxy-liteserver
150150
test $? -eq 0 || { echo "Can't compile ton"; exit 1; }
151151
fi
152152

@@ -174,6 +174,7 @@ if [ "$with_artifacts" = true ]; then
174174
cp build/validator-engine/validator-engine artifacts/
175175
cp build/utils/generate-random-id artifacts/
176176
cp build/utils/json2tlo artifacts/
177+
cp build/utils/proxy-liteserver artifacts/
177178
cp build/adnl/adnl-proxy artifacts/
178179
cp build/emulator/libemulator.dylib artifacts/
179180
rsync -r crypto/smartcont artifacts/

assembly/native/build-macos-shared.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,13 +68,13 @@ if [ "$with_tests" = true ]; then
6868
http-proxy rldp-http-proxy adnl-proxy create-state create-hardfork tlbc emulator \
6969
test-ed25519 test-ed25519-crypto test-bigint test-vm test-fift test-cells test-smartcont \
7070
test-net test-tdactor test-tdutils test-tonlib-offline test-adnl test-dht test-rldp \
71-
test-rldp2 test-catchain test-fec test-tddb test-db test-validator-session-state test-emulator
71+
test-rldp2 test-catchain test-fec test-tddb test-db test-validator-session-state test-emulator proxy-liteserver
7272
test $? -eq 0 || { echo "Can't compile ton"; exit 1; }
7373
else
7474
ninja storage-daemon storage-daemon-cli blockchain-explorer \
7575
tonlib tonlibjson tonlib-cli validator-engine func tolk fift \
7676
lite-client pow-miner validator-engine-console generate-random-id json2tlo dht-server \
77-
http-proxy rldp-http-proxy adnl-proxy create-state create-hardfork tlbc emulator
77+
http-proxy rldp-http-proxy adnl-proxy create-state create-hardfork tlbc emulator proxy-liteserver
7878
test $? -eq 0 || { echo "Can't compile ton"; exit 1; }
7979
fi
8080

@@ -102,6 +102,7 @@ if [ "$with_artifacts" = true ]; then
102102
cp build/validator-engine/validator-engine artifacts/
103103
cp build/utils/generate-random-id artifacts/
104104
cp build/utils/json2tlo artifacts/
105+
cp build/utils/proxy-liteserver artifacts/
105106
cp build/adnl/adnl-proxy artifacts/
106107
cp build/emulator/libemulator.dylib artifacts/
107108
cp -R crypto/smartcont artifacts/

assembly/native/build-ubuntu-portable.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -130,13 +130,13 @@ ninja storage-daemon storage-daemon-cli fift func tolk tonlib tonlibjson tonlib-
130130
adnl-proxy create-state emulator test-ed25519 test-ed25519-crypto test-bigint \
131131
test-vm test-fift test-cells test-smartcont test-net test-tdactor test-tdutils \
132132
test-tonlib-offline test-adnl test-dht test-rldp test-rldp2 test-catchain \
133-
test-fec test-tddb test-db test-validator-session-state test-emulator
133+
test-fec test-tddb test-db test-validator-session-state test-emulator proxy-liteserver
134134
test $? -eq 0 || { echo "Can't compile ton"; exit 1; }
135135
else
136136
ninja storage-daemon storage-daemon-cli fift func tolk tonlib tonlibjson tonlib-cli \
137137
validator-engine lite-client pow-miner validator-engine-console blockchain-explorer \
138138
generate-random-id json2tlo dht-server http-proxy rldp-http-proxy \
139-
adnl-proxy create-state emulator
139+
adnl-proxy create-state emulator proxy-liteserver
140140
test $? -eq 0 || { echo "Can't compile ton"; exit 1; }
141141
fi
142142

@@ -154,7 +154,7 @@ if [ "$with_artifacts" = true ]; then
154154
mv build/tonlib/libtonlibjson.so.0.5 build/tonlib/libtonlibjson.so
155155
cp build/storage/storage-daemon/storage-daemon build/storage/storage-daemon/storage-daemon-cli \
156156
build/crypto/fift build/crypto/tlbc build/crypto/func build/tolk/tolk build/crypto/create-state build/blockchain-explorer/blockchain-explorer \
157-
build/validator-engine-console/validator-engine-console build/tonlib/tonlib-cli \
157+
build/validator-engine-console/validator-engine-console build/tonlib/tonlib-cli build/utils/proxy-liteserver \
158158
build/tonlib/libtonlibjson.so build/http/http-proxy build/rldp-http-proxy/rldp-http-proxy \
159159
build/dht-server/dht-server build/lite-client/lite-client build/validator-engine/validator-engine \
160160
build/utils/generate-random-id build/utils/json2tlo build/adnl/adnl-proxy build/emulator/libemulator.so \

assembly/native/build-ubuntu-shared.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,13 @@ ninja storage-daemon storage-daemon-cli fift func tolk tonlib tonlibjson tonlib-
5858
adnl-proxy create-state emulator test-ed25519 test-ed25519-crypto test-bigint \
5959
test-vm test-fift test-cells test-smartcont test-net test-tdactor test-tdutils \
6060
test-tonlib-offline test-adnl test-dht test-rldp test-rldp2 test-catchain \
61-
test-fec test-tddb test-db test-validator-session-state test-emulator
61+
test-fec test-tddb test-db test-validator-session-state test-emulator proxy-liteserver
6262
test $? -eq 0 || { echo "Can't compile ton"; exit 1; }
6363
else
6464
ninja storage-daemon storage-daemon-cli fift func tolk tonlib tonlibjson tonlib-cli \
6565
validator-engine lite-client pow-miner validator-engine-console blockchain-explorer \
6666
generate-random-id json2tlo dht-server http-proxy rldp-http-proxy \
67-
adnl-proxy create-state emulator
67+
adnl-proxy create-state emulator proxy-liteserver
6868
test $? -eq 0 || { echo "Can't compile ton"; exit 1; }
6969
fi
7070

@@ -84,7 +84,7 @@ if [ "$with_artifacts" = true ]; then
8484
mv build/tonlib/libtonlibjson.so.0.5 build/tonlib/libtonlibjson.so
8585
cp build/storage/storage-daemon/storage-daemon build/storage/storage-daemon/storage-daemon-cli \
8686
build/crypto/fift build/crypto/tlbc build/crypto/func build/tolk/tolk build/crypto/create-state build/blockchain-explorer/blockchain-explorer \
87-
build/validator-engine-console/validator-engine-console build/tonlib/tonlib-cli \
87+
build/validator-engine-console/validator-engine-console build/tonlib/tonlib-cli build/utils/proxy-liteserver \
8888
build/tonlib/libtonlibjson.so build/http/http-proxy build/rldp-http-proxy/rldp-http-proxy \
8989
build/dht-server/dht-server build/lite-client/lite-client build/validator-engine/validator-engine \
9090
build/utils/generate-random-id build/utils/json2tlo build/adnl/adnl-proxy build/emulator/libemulator.so \

assembly/native/build-windows-2019.bat

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,15 +137,15 @@ tonlib-cli validator-engine lite-client pow-miner validator-engine-console gener
137137
json2tlo dht-server http-proxy rldp-http-proxy adnl-proxy create-state create-hardfork emulator ^
138138
test-ed25519 test-ed25519-crypto test-bigint test-vm test-fift test-cells test-smartcont test-net ^
139139
test-tdactor test-tdutils test-tonlib-offline test-adnl test-dht test-rldp test-rldp2 test-catchain ^
140-
test-fec test-tddb test-db test-validator-session-state test-emulator
140+
test-fec test-tddb test-db test-validator-session-state test-emulator proxy-liteserver
141141
IF %errorlevel% NEQ 0 (
142142
echo Can't compile TON
143143
exit /b %errorlevel%
144144
)
145145
) else (
146146
ninja storage-daemon storage-daemon-cli blockchain-explorer fift func tolk tonlib tonlibjson ^
147147
tonlib-cli validator-engine lite-client pow-miner validator-engine-console generate-random-id ^
148-
json2tlo dht-server http-proxy rldp-http-proxy adnl-proxy create-state create-hardfork emulator
148+
json2tlo dht-server http-proxy rldp-http-proxy adnl-proxy create-state create-hardfork emulator proxy-liteserver
149149
IF %errorlevel% NEQ 0 (
150150
echo Can't compile TON
151151
exit /b %errorlevel%
@@ -193,6 +193,7 @@ build\lite-client\lite-client.exe ^
193193
build\validator-engine\validator-engine.exe ^
194194
build\utils\generate-random-id.exe ^
195195
build\utils\json2tlo.exe ^
196+
build\utils\proxy-liteserver.exe ^
196197
build\adnl\adnl-proxy.exe ^
197198
build\emulator\emulator.dll) do (strip -s %%I & copy %%I artifacts\)
198199
xcopy /e /k /h /i crypto\smartcont artifacts\smartcont

assembly/native/build-windows.bat

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,15 +140,15 @@ tonlib-cli validator-engine lite-client pow-miner validator-engine-console gener
140140
json2tlo dht-server http-proxy rldp-http-proxy adnl-proxy create-state create-hardfork emulator ^
141141
test-ed25519 test-ed25519-crypto test-bigint test-vm test-fift test-cells test-smartcont test-net ^
142142
test-tdactor test-tdutils test-tonlib-offline test-adnl test-dht test-rldp test-rldp2 test-catchain ^
143-
test-fec test-tddb test-db test-validator-session-state test-emulator
143+
test-fec test-tddb test-db test-validator-session-state test-emulator proxy-liteserver
144144
IF %errorlevel% NEQ 0 (
145145
echo Can't compile TON
146146
exit /b %errorlevel%
147147
)
148148
) else (
149149
ninja storage-daemon storage-daemon-cli blockchain-explorer fift func tolk tonlib tonlibjson ^
150150
tonlib-cli validator-engine lite-client pow-miner validator-engine-console generate-random-id ^
151-
json2tlo dht-server http-proxy rldp-http-proxy adnl-proxy create-state create-hardfork emulator
151+
json2tlo dht-server http-proxy rldp-http-proxy adnl-proxy create-state create-hardfork emulator proxy-liteserver
152152
IF %errorlevel% NEQ 0 (
153153
echo Can't compile TON
154154
exit /b %errorlevel%

utils/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@ target_include_directories(pack-viewer PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_
2424
add_executable(proxy-liteserver proxy-liteserver.cpp)
2525
target_link_libraries(proxy-liteserver tdutils tdactor adnl dht tl_api ton_crypto git lite-client-common)
2626

27-
install(TARGETS generate-random-id RUNTIME DESTINATION bin)
27+
install(TARGETS generate-random-id proxy-liteserver RUNTIME DESTINATION bin)

0 commit comments

Comments
 (0)