Skip to content
Open
Show file tree
Hide file tree
Changes from 15 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions .github/workflows/build-ton-linux-android-tonlib.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,15 @@ jobs:

steps:
- name: Check out repository
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
submodules: 'recursive'

- name: Install system libraries
run: |
sudo apt-get update
sudo apt-get install -y build-essential git cmake ninja-build automake libtool texinfo autoconf libgflags-dev \
zlib1g-dev libreadline-dev libmicrohttpd-dev pkg-config libgsl-dev python3 python3-dev \
libtool autoconf libsecp256k1-dev
libreadline-dev pkg-config libgsl-dev python3 python3-dev libtool autoconf

- name: Install llvm-21
run: |
Expand Down
20 changes: 3 additions & 17 deletions .github/workflows/build-ton-linux-arm64-appimage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:

steps:
- name: Check out repository
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
submodules: 'recursive'

Expand All @@ -21,8 +21,8 @@ jobs:
- name: Install system libraries
run: |
sudo apt update
sudo apt install -y build-essential git cmake ninja-build zlib1g-dev libsecp256k1-dev libmicrohttpd-dev libsodium-dev liblz4-dev ccache libgsl-dev libblas-dev libgslcblas0
mkdir ~/.ccache 3pp
sudo apt install -y build-essential git cmake ninja-build ccache libgsl-dev libblas-dev libgslcblas0
mkdir ~/.ccache

- name: Install clang-21
run: |
Expand All @@ -32,20 +32,6 @@ jobs:
sudo apt-get -y update
sudo apt-get install -y clang-21

- name: Cache 3pp
id: cache-3pp
uses: actions/cache@v4
with:
path: 3pp
key: ${{ runner.os }}-${{ runner.arch }}-ubuntu-22.04-arm-3pp-${{ hashFiles('**/assembly/native/build-ubuntu-appimages.sh') }}

- name: Cache OpenSSL
id: cache-openssl
uses: actions/cache@v4
with:
path: openssl_3
key: ${{ runner.os }}-${{ runner.arch }}-ubuntu-22.04-arm-openssl_3-${{ hashFiles('**/assembly/native/build-ubuntu-appimages.sh') }}

- name: Restore cache TON
uses: actions/cache/restore@v4
with:
Expand Down
11 changes: 2 additions & 9 deletions .github/workflows/build-ton-linux-arm64-shared.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:

steps:
- name: Check out repository
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
submodules: 'recursive'

Expand All @@ -25,7 +25,7 @@ jobs:
- name: Install system libraries
run: |
sudo apt-get update
sudo apt-get install -y build-essential git cmake ninja-build zlib1g-dev libsecp256k1-dev libmicrohttpd-dev libsodium-dev liblz4-dev libjemalloc-dev ccache
sudo apt-get install -y build-essential git cmake ninja-build libjemalloc-dev ccache
mkdir ~/.ccache

- if: matrix.os != 'ubuntu-24.04-arm'
Expand All @@ -46,13 +46,6 @@ jobs:
sudo apt-get -y update
sudo apt-get install -y clang-21

- name: Cache OpenSSL
id: cache-openssl
uses: actions/cache@v4
with:
path: openssl_3
key: ${{ runner.os }}-${{ runner.arch }}-${{ matrix.os }}-openssl_3-${{ hashFiles('**/assembly/native/build-ubuntu-shared.sh') }}

- name: Cache TON test
id: cache-ton
uses: actions/cache@v4
Expand Down
13 changes: 3 additions & 10 deletions .github/workflows/build-ton-linux-x86-64-appimage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:

steps:
- name: Check out repository
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
submodules: 'recursive'

Expand All @@ -21,22 +21,15 @@ jobs:
- name: Install system libraries
run: |
sudo apt update
sudo apt install -y build-essential git cmake ninja-build zlib1g-dev libsecp256k1-dev libmicrohttpd-dev libsodium-dev liblz4-dev ccache libgsl-dev libblas-dev libgslcblas0
mkdir ~/.ccache 3pp
sudo apt install -y build-essential git cmake ninja-build ccache libgsl-dev libblas-dev libgslcblas0
mkdir ~/.ccache
- name: Install clang-21
run: |
wget https://apt.llvm.org/llvm.sh
chmod +x llvm.sh
sudo ./llvm.sh 21 clang
- name: Cache 3pp
id: cache-3pp
uses: actions/cache@v4
with:
path: 3pp
key: ${{ runner.os }}-${{ runner.arch }}-ubuntu-22.04-3pp-${{ hashFiles('**/assembly/native/build-ubuntu-appimages.sh') }}

- name: Restore cache TON
uses: actions/cache/restore@v4
with:
Expand Down
11 changes: 2 additions & 9 deletions .github/workflows/build-ton-linux-x86-64-shared.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:

steps:
- name: Check out repository
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
submodules: 'recursive'

Expand All @@ -25,7 +25,7 @@ jobs:
- name: Install system libraries
run: |
sudo apt-get update
sudo apt-get install -y build-essential git cmake ninja-build zlib1g-dev libsecp256k1-dev libmicrohttpd-dev libsodium-dev liblz4-dev libjemalloc-dev ccache
sudo apt-get install -y build-essential git cmake ninja-build libjemalloc-dev ccache
mkdir ~/.ccache

- if: matrix.os != 'ubuntu-24.04'
Expand All @@ -43,13 +43,6 @@ jobs:
sudo apt -y update
sudo apt install -y clang-21

- name: Cache OpenSSL
id: cache-openssl
uses: actions/cache@v4
with:
path: openssl_3
key: ${{ runner.os }}-${{ runner.arch }}-${{ matrix.os }}-openssl_3-${{ hashFiles('**/assembly/native/build-ubuntu-shared.sh') }}

- name: Restore cache TON
uses: actions/cache@v4
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-ton-linux-x86-64-werror.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:

steps:
- name: Check out repository
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
submodules: 'recursive'

Expand All @@ -21,7 +21,7 @@ jobs:
- name: Install system libraries
run: |
sudo apt-get update
sudo apt-get install -y build-essential git cmake ninja-build zlib1g-dev libsecp256k1-dev libmicrohttpd-dev libsodium-dev liblz4-dev libjemalloc-dev
sudo apt-get install -y build-essential git cmake ninja-build libjemalloc-dev

- name: Install Clang 21
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-ton-macos-14-arm64-portable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:

steps:
- name: Check out repository
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
submodules: 'recursive'

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-ton-macos-15-arm64-shared.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:

steps:
- name: Check out repository
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
submodules: 'recursive'

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-ton-macos-15-x86-64-portable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:

steps:
- name: Check out repository
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
submodules: 'recursive'

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-ton-macos-15-x86-64-shared.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:

steps:
- name: Check out repository
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
submodules: 'recursive'

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-ton-macos-arm64-shared.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:

steps:
- name: Check out repository
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
submodules: 'recursive'

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-ton-wasm-emscripten.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ jobs:

steps:
- name: Check out repository
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
submodules: 'recursive'

- name: Install system libraries
run: |
sudo apt-get update
sudo apt-get install -y build-essential git cmake ninja-build zlib1g-dev libsecp256k1-dev libmicrohttpd-dev liblz4-dev libjemalloc-dev
sudo apt-get install -y build-essential git cmake ninja-build libjemalloc-dev
mkdir -p 3pp_emscripten
- name: Install clang-21
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-ton-windows-mingw64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:

steps:
- name: Check out repository
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
submodules: 'recursive'

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-ton-windows-ucrt64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:

steps:
- name: Check out repository
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
submodules: 'recursive'

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/clear-gh-cache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
uses: actions/checkout@v6
- name: Clear all cache
run: gh cache delete --all
2 changes: 1 addition & 1 deletion .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6

- name: Download Linux arm64 artifacts
uses: dawidd6/action-download-artifact@v6
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/create-tolk-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6

- name: Download and unzip Linux arm64 artifacts
uses: dawidd6/action-download-artifact@v6
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docker-ubuntu-branch-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-22.04-arm
steps:
- name: Check out repository
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
submodules: 'recursive'

Expand Down Expand Up @@ -52,7 +52,7 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Check out repository
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
submodules: 'recursive'

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/docker-ubuntu-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-22.04-arm
steps:
- name: Check out repository
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
submodules: 'recursive'

Expand Down Expand Up @@ -56,7 +56,7 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Check out repository
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
submodules: 'recursive'

Expand Down Expand Up @@ -101,7 +101,7 @@ jobs:
- build-arm64
steps:
- name: Check out repository
uses: actions/checkout@v4
uses: actions/checkout@v6

- name: Get next tag
id: tag
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ton-ccpcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:

steps:
- name: Check out repository
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
submodules: 'recursive'

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ton-x86-64-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
systeminfo | findstr /B /C:"OS Name" /C:"OS Version"
- name: Check out current repository
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
submodules: 'recursive'

Expand Down
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,8 @@ test/regression-tests.cache/
.vscode
.DS_Store
dev/
zlib/
libsodium/
libmicrohttpd-0.9.77-w32-bin/
readline-5.0-1-lib/
openssl-3.5/
libsodium-1.0.18-stable-msvc.zip
libmicrohttpd-0.9.77-w32-bin.zip
openssl-3.5.zip
Expand Down
8 changes: 8 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,11 @@
path = third-party/lz4
url = https://github.com/lz4/lz4.git
ignore = all
[submodule "third-party/libmicrohttpd"]
path = third-party/libmicrohttpd
url = https://github.com/ton-blockchain/libmicrohttpd
ignore = all
[submodule "third-party/zlib"]
path = third-party/zlib
url = https://github.com/madler/zlib.git
ignore = all
Loading
Loading