Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Dax89 authored Sep 8, 2023
1 parent 922c032 commit 81d7124
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,18 @@ jobs:

steps:
- uses: actions/checkout@v2
- uses: jurplel/[email protected]

- 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 qt515base qt515x11extras cmake
sudo apt-get install -y build-essential gcc-10 g++-10 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 @@ -34,7 +33,6 @@ 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 @@ -46,7 +44,6 @@ 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 81d7124

Please sign in to comment.