Skip to content

Commit

Permalink
chore: update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Dax89 authored Sep 8, 2023
1 parent 1b6c566 commit 922c032
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,16 @@ jobs:

- name: Install dependencies
run: |
sudo add-apt-repository ppa:beineri/opt-qt-5.15.0-focal
sudo apt-get update
sudo apt-get install -y build-essential gcc-10 g++-10 qt5-default libqt5x11extras5-dev cmake
sudo apt-get install -y build-essential gcc-10 g++-10 qt515base qt515x11extras cmake
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-10 100 --slave /usr/bin/g++ g++ /usr/bin/g++-10 --slave /usr/bin/gcov gcov /usr/bin/gcov-10
git submodule update --init --recursive
- name: Build
shell: bash
run: |
source /opt/qt515/bin/qt515-env.sh
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr ..
Expand All @@ -32,6 +34,7 @@ jobs:
- name: Prepare AppImage
shell: bash
run: |
source /opt/qt515/bin/qt515-env.sh
cd build
wget https://github.com/linuxdeploy/linuxdeploy/releases/download/continuous/linuxdeploy-x86_64.AppImage
wget https://github.com/linuxdeploy/linuxdeploy-plugin-qt/releases/download/continuous/linuxdeploy-plugin-qt-x86_64.AppImage
Expand All @@ -43,6 +46,7 @@ jobs:
- name: Generate AppImage
run: |
source /opt/qt515/bin/qt515-env.sh
cd build
LD_LIBRARY_PATH=$PWD/AppDir/usr/lib/x86_64-linux-gnu ./linuxdeploy-x86_64.AppImage --appdir=AppDir --plugin qt --output appimage
mv REDasm-*.AppImage REDasm_Linux_AMD64_`date +%Y%m%d`.AppImage
Expand Down

0 comments on commit 922c032

Please sign in to comment.