forked from ton-blockchain/ton
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adding natively portable binaries (all statically linked with libc++,…
… without nixpkgs help) for x86-64 linux
- Loading branch information
Showing
2 changed files
with
41 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
name: Ubuntu TON build (portable, x86-64) | ||
|
||
on: [push,workflow_dispatch,workflow_call] | ||
|
||
jobs: | ||
build: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu-20.04, ubuntu-22.04, ubuntu-24.04] | ||
runs-on: ${{ matrix.os }} | ||
|
||
steps: | ||
- name: Check out repository | ||
uses: actions/checkout@v3 | ||
with: | ||
submodules: 'recursive' | ||
|
||
- name: Install system libraries | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install -y build-essential git cmake ninja-build libc++-dev libc++abi-dev | ||
- name: Build TON | ||
run: | | ||
git submodule sync --recursive | ||
git submodule update | ||
cp assembly/native/build-ubuntu-portable.sh . | ||
chmod +x build-ubuntu-portable.sh | ||
./build-ubuntu-portable.sh -t -a | ||
- name: Upload artifacts | ||
uses: actions/upload-artifact@master | ||
with: | ||
name: ton-binaries-${{ matrix.os }} | ||
path: artifacts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters