-
-
Notifications
You must be signed in to change notification settings - Fork 142
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
2 additions
and
5 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 |
---|---|---|
|
@@ -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 .. | ||
|
@@ -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 | ||
|
@@ -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 | ||
|