mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
avoid infinite loop when place in system bin dir
This commit is contained in:
parent
c018bba964
commit
36d3328f67
4 changed files with 3 additions and 97 deletions
|
@ -47,11 +47,6 @@ jobs:
|
||||||
./create-appimages.sh
|
./create-appimages.sh
|
||||||
rm -rf artifacts
|
rm -rf artifacts
|
||||||
|
|
||||||
- name: Quick test
|
|
||||||
run: |
|
|
||||||
./appimages/artifacts/lite-client --appimage-extract
|
|
||||||
ldd ./appimages/artifacts/squashfs-root/usr/bin/lite-client
|
|
||||||
./appimages/artifacts/lite-client -V
|
|
||||||
|
|
||||||
- name: Build TON libs
|
- name: Build TON libs
|
||||||
run: |
|
run: |
|
||||||
|
|
|
@ -1,49 +0,0 @@
|
||||||
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 update
|
|
||||||
sudo apt install -y build-essential git cmake ninja-build libc++-dev libc++abi-dev
|
|
||||||
sudo apt remove libgsl-dev
|
|
||||||
|
|
||||||
- if: matrix.os == 'ubuntu-20.04'
|
|
||||||
run: |
|
|
||||||
sudo apt install -y manpages-dev software-properties-common
|
|
||||||
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
|
|
||||||
sudo apt update && sudo apt install gcc-11 g++-11
|
|
||||||
|
|
||||||
- if: matrix.os != 'ubuntu-24.04'
|
|
||||||
run: |
|
|
||||||
wget https://apt.llvm.org/llvm.sh
|
|
||||||
chmod +x llvm.sh
|
|
||||||
sudo ./llvm.sh 16 all
|
|
||||||
|
|
||||||
- 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
|
|
40
.github/workflows/ton-arm64-macos.yml
vendored
40
.github/workflows/ton-arm64-macos.yml
vendored
|
@ -1,40 +0,0 @@
|
||||||
name: MacOS TON build (portable, arm64)
|
|
||||||
|
|
||||||
on: [push,workflow_dispatch,workflow_call]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
runs-on: macos-14
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v3
|
|
||||||
with:
|
|
||||||
submodules: 'recursive'
|
|
||||||
|
|
||||||
- uses: cachix/install-nix-action@v23
|
|
||||||
with:
|
|
||||||
extra_nix_config: |
|
|
||||||
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
|
|
||||||
|
|
||||||
- name: Build TON
|
|
||||||
run: |
|
|
||||||
git submodule sync --recursive
|
|
||||||
git submodule update
|
|
||||||
cp assembly/nix/build-macos-nix.sh .
|
|
||||||
chmod +x build-macos-nix.sh
|
|
||||||
./build-macos-nix.sh -t
|
|
||||||
|
|
||||||
- name: Simple binaries test
|
|
||||||
run: |
|
|
||||||
sudo mv /nix/store /nix/store2
|
|
||||||
artifacts/validator-engine -V
|
|
||||||
artifacts/lite-client -V
|
|
||||||
artifacts/fift -V
|
|
||||||
artifacts/func -V
|
|
||||||
artifacts/tolk -v
|
|
||||||
|
|
||||||
- name: Upload artifacts
|
|
||||||
uses: actions/upload-artifact@master
|
|
||||||
with:
|
|
||||||
name: ton-arm64-macos-binaries
|
|
||||||
path: artifacts
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/bin/sh
|
||||||
export LD_LIBRARY_PATH="${APPDIR}/usr/lib:${LD_LIBRARY_PATH}"
|
export LD_LIBRARY_PATH="${APPDIR}/usr/lib:${LD_LIBRARY_PATH}"
|
||||||
export PATH=$PATH:$(dirname "$0")/usr/bin
|
cd "$(dirname "$0")"
|
||||||
cd "$(dirname $APPIMAGE)" & exec app "$@"
|
exec ./usr/bin/app "$@"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue