-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Everything in the yml file for ease of understanding. No Docker. For #239
- Loading branch information
Showing
1 changed file
with
39 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name: Build AppImageUpdate and AppImageKit | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
|
||
- name: Install dependencies | ||
run: | | ||
sudo apt -y update | ||
sudo apt -y install wget git cmake g++ libcurl4-openssl-dev libx11-dev libz-dev libfuse-dev librsvg2-dev libssl-dev libinotifytools0-dev libarchive-dev liblzma-dev | ||
- name: Build AppImageUpdate | ||
run: | | ||
git clone --recursive https://github.com/AppImage/AppImageUpdate | ||
cd AppImageUpdate/ | ||
mkdir build/ | ||
cd build/ | ||
cmake -DBUILD_QT_UI=OFF -DCMAKE_INSTALL_PREFIX=/usr .. | ||
make -j$(nproc) | ||
sudo make install | ||
cd .. | ||
- name: Build AppImageKit | ||
run: | | ||
git clone --recursive https://github.com/AppImage/AppImageKit | ||
cd AppImageKit/ | ||
mkdir build/ | ||
cd build/ | ||
cmake -DUSE_SYSTEM_XZ=ON -DUSE_SYSTEM_INOTIFY_TOOLS=ON -DUSE_SYSTEM_LIBARCHIVE=ON -DUSE_SYSTEM_GTEST=OFF -DCMAKE_INSTALL_PREFIX=/usr .. | ||
make -j$(nproc) | ||
sudo make install |