Skip to content

Commit 4bad8fb

Browse files
Merge pull request #1 from ton-blockchain/master
@AnonymousScriipt007
2 parents 0c21ce2 + ed46820 commit 4bad8fb

File tree

754 files changed

+57153
-5279
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

754 files changed

+57153
-5279
lines changed

.github/script/amd64-20.04.Dockerfile

Lines changed: 0 additions & 20 deletions
This file was deleted.

.github/script/amd64-22.04.Dockerfile

Lines changed: 0 additions & 20 deletions
This file was deleted.

.github/script/arm64-20.04.Dockerfile

Lines changed: 0 additions & 20 deletions
This file was deleted.

.github/script/arm64-22.04.Dockerfile

Lines changed: 0 additions & 20 deletions
This file was deleted.

.github/workflows/build-ton-linux-android-tonlib.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,14 @@ jobs:
2121
2222
- name: Build TON
2323
run: |
24+
git submodule sync --recursive
25+
git submodule update
2426
cp assembly/android/build-android-tonlib.sh .
2527
chmod +x build-android-tonlib.sh
2628
./build-android-tonlib.sh -a
2729
2830
- name: Upload artifacts
2931
uses: actions/upload-artifact@master
3032
with:
31-
name: tonlib-android
33+
name: ton-android-tonlib
3234
path: artifacts
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
name: Ubuntu TON build (AppImages, arm64)
2+
3+
on: [push,workflow_dispatch,workflow_call]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-22.04-arm
8+
9+
steps:
10+
- name: Check out repository
11+
uses: actions/checkout@v3
12+
with:
13+
submodules: 'recursive'
14+
15+
- name: Install system libraries
16+
run: |
17+
sudo apt update
18+
sudo apt install -y build-essential git cmake ninja-build zlib1g-dev libsecp256k1-dev libmicrohttpd-dev libsodium-dev liblz4-dev
19+
sudo apt remove libgsl-dev
20+
21+
- name: Install clang-16
22+
run: |
23+
wget https://apt.llvm.org/llvm.sh
24+
chmod +x llvm.sh
25+
sudo ./llvm.sh 16 all
26+
27+
- name: Build TON
28+
run: |
29+
git submodule sync --recursive
30+
git submodule update
31+
cp assembly/native/build-ubuntu-appimages.sh .
32+
chmod +x build-ubuntu-appimages.sh
33+
./build-ubuntu-appimages.sh -a
34+
35+
- name: Make AppImages
36+
run: |
37+
cp assembly/appimage/create-appimages.sh .
38+
cp assembly/appimage/AppRun .
39+
cp assembly/appimage/ton.png .
40+
chmod +x create-appimages.sh
41+
./create-appimages.sh aarch64
42+
rm -rf artifacts
43+
44+
45+
- name: Build TON libs
46+
run: |
47+
cp assembly/native/build-ubuntu-portable-libs.sh .
48+
chmod +x build-ubuntu-portable-libs.sh
49+
./build-ubuntu-portable-libs.sh -a
50+
cp ./artifacts/libtonlibjson.so appimages/artifacts/
51+
cp ./artifacts/libemulator.so appimages/artifacts/
52+
53+
- name: Upload artifacts
54+
uses: actions/upload-artifact@master
55+
with:
56+
name: ton-arm64-linux
57+
path: appimages/artifacts
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: Ubuntu TON build (shared, arm64)
2+
3+
on: [push,workflow_dispatch,workflow_call]
4+
5+
jobs:
6+
build:
7+
strategy:
8+
fail-fast: false
9+
matrix:
10+
os: [ubuntu-22.04-arm, ubuntu-24.04-arm]
11+
runs-on: ${{ matrix.os }}
12+
13+
steps:
14+
- name: Check out repository
15+
uses: actions/checkout@v3
16+
with:
17+
submodules: 'recursive'
18+
19+
- name: Install system libraries
20+
run: |
21+
sudo apt-get update
22+
sudo apt-get install -y build-essential git cmake ninja-build zlib1g-dev libsecp256k1-dev libmicrohttpd-dev libsodium-dev liblz4-dev libjemalloc-dev
23+
24+
- if: matrix.os != 'ubuntu-24.04-arm'
25+
name: Install llvm-16
26+
run: |
27+
wget https://apt.llvm.org/llvm.sh
28+
chmod +x llvm.sh
29+
sudo ./llvm.sh 16 all
30+
31+
- name: Build TON
32+
run: |
33+
git submodule sync --recursive
34+
git submodule update
35+
cp assembly/native/build-ubuntu-shared.sh .
36+
chmod +x build-ubuntu-shared.sh
37+
./build-ubuntu-shared.sh -t -a
38+
39+
- name: Upload artifacts
40+
uses: actions/upload-artifact@master
41+
with:
42+
name: ton-binaries-${{ matrix.os }}
43+
path: artifacts
Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
name: Ubuntu TON build (AppImages, x86-64)
2+
3+
on: [push,workflow_dispatch,workflow_call]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-20.04
8+
9+
steps:
10+
- name: Check out repository
11+
uses: actions/checkout@v3
12+
with:
13+
submodules: 'recursive'
14+
15+
- name: Install system libraries
16+
run: |
17+
sudo apt update
18+
sudo apt install -y build-essential git cmake ninja-build zlib1g-dev libsecp256k1-dev libmicrohttpd-dev libsodium-dev liblz4-dev
19+
sudo apt remove libgsl-dev
20+
21+
- name: Install gcc-11 g++-11
22+
run: |
23+
sudo apt install -y manpages-dev software-properties-common
24+
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
25+
sudo apt update && sudo apt install gcc-11 g++-11
26+
27+
- name: Install clang-16
28+
run: |
29+
wget https://apt.llvm.org/llvm.sh
30+
chmod +x llvm.sh
31+
sudo ./llvm.sh 16 all
32+
33+
- name: Build TON
34+
run: |
35+
git submodule sync --recursive
36+
git submodule update
37+
cp assembly/native/build-ubuntu-appimages.sh .
38+
chmod +x build-ubuntu-appimages.sh
39+
./build-ubuntu-appimages.sh -a
40+
41+
- name: Make AppImages
42+
run: |
43+
cp assembly/appimage/create-appimages.sh .
44+
cp assembly/appimage/AppRun .
45+
cp assembly/appimage/ton.png .
46+
chmod +x create-appimages.sh
47+
./create-appimages.sh x86_64
48+
rm -rf artifacts
49+
50+
51+
- name: Build TON libs
52+
run: |
53+
cp assembly/native/build-ubuntu-portable-libs.sh .
54+
chmod +x build-ubuntu-portable-libs.sh
55+
./build-ubuntu-portable-libs.sh -a
56+
cp ./artifacts/libtonlibjson.so appimages/artifacts/
57+
cp ./artifacts/libemulator.so appimages/artifacts/
58+
59+
- name: Upload artifacts
60+
uses: actions/upload-artifact@master
61+
with:
62+
name: ton-x86_64-linux
63+
path: appimages/artifacts

.github/workflows/build-ton-linux-x86-64-shared.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,12 @@ jobs:
2121
sudo apt-get update
2222
sudo apt-get install -y build-essential git cmake ninja-build zlib1g-dev libsecp256k1-dev libmicrohttpd-dev libsodium-dev liblz4-dev libjemalloc-dev
2323
24+
- if: matrix.os == 'ubuntu-20.04'
25+
run: |
26+
sudo apt install -y manpages-dev software-properties-common
27+
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
28+
sudo apt update && sudo apt install gcc-11 g++-11
29+
2430
- if: matrix.os != 'ubuntu-24.04'
2531
run: |
2632
wget https://apt.llvm.org/llvm.sh
@@ -29,6 +35,8 @@ jobs:
2935
3036
- name: Build TON
3137
run: |
38+
git submodule sync --recursive
39+
git submodule update
3240
cp assembly/native/build-ubuntu-shared.sh .
3341
chmod +x build-ubuntu-shared.sh
3442
./build-ubuntu-shared.sh -t -a
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: MacOS-13 TON build (portable, x86-64)
2+
3+
on: [push,workflow_dispatch,workflow_call]
4+
5+
jobs:
6+
build:
7+
runs-on: macos-13
8+
9+
steps:
10+
- name: Check out repository
11+
uses: actions/checkout@v3
12+
with:
13+
submodules: 'recursive'
14+
15+
- name: Build TON
16+
run: |
17+
git submodule sync --recursive
18+
git submodule update
19+
cp assembly/native/build-macos-portable.sh .
20+
chmod +x build-macos-portable.sh
21+
./build-macos-portable.sh -t -a
22+
23+
- name: Upload artifacts
24+
uses: actions/upload-artifact@master
25+
with:
26+
name: ton-x86_64-macos
27+
path: artifacts

0 commit comments

Comments
 (0)