From c6aeb9f81570fe896d87553ef00407f7443a4264 Mon Sep 17 00:00:00 2001 From: neodiX Date: Wed, 25 Dec 2024 23:05:44 +0400 Subject: [PATCH] appimages only on ubuntu 22 with ssl-3 for now --- .github/workflows/build-ton-linux-x86-64-appimage.yml | 10 +++------- assembly/appimage/create-appimages.sh | 1 + 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build-ton-linux-x86-64-appimage.yml b/.github/workflows/build-ton-linux-x86-64-appimage.yml index 313af2021..bbb558af0 100644 --- a/.github/workflows/build-ton-linux-x86-64-appimage.yml +++ b/.github/workflows/build-ton-linux-x86-64-appimage.yml @@ -4,11 +4,7 @@ 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 }} + runs-on: ubuntu-20.04 steps: - name: Check out repository @@ -22,13 +18,13 @@ jobs: sudo apt install -y build-essential git cmake ninja-build zlib1g-dev libsecp256k1-dev libmicrohttpd-dev libsodium-dev liblz4-dev libjemalloc-dev sudo apt remove libgsl-dev - - if: matrix.os == 'ubuntu-20.04' + - name: Install gcc-11 g++-11 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' + - name: Install clang-16 run: | wget https://apt.llvm.org/llvm.sh chmod +x llvm.sh diff --git a/assembly/appimage/create-appimages.sh b/assembly/appimage/create-appimages.sh index 5ea71eb69..f5ae1d38f 100644 --- a/assembly/appimage/create-appimages.sh +++ b/assembly/appimage/create-appimages.sh @@ -25,6 +25,7 @@ for file in ../artifacts/*; do printf '[Desktop Entry]\nName='$appName'\nExec='$appName'\nIcon='$appName'\nType=Application\nCategories=Utility;\n' > $appName.AppDir/$appName.desktop cp ../ton.png $appName.AppDir/$appName.png cp $file $appName.AppDir/usr/bin/ + cp ../build/openssl_3/libcrypto.so.3 $appName.AppDir/usr/lib/ chmod +x ./$appName.AppDir/usr/bin/$appName # create AppImage ./../appimagetool-x86_64.AppImage $appName.AppDir