Skip to content

Commit bec1968

Browse files
authored
Build on Ubuntu
Everything in the yml file for ease of understanding. No Docker. For #239
1 parent 73b422f commit bec1968

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

.github/workflows/ubuntu.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: Build AppImageUpdate and AppImageKit
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout code
13+
uses: actions/checkout@v3
14+
15+
- name: Install dependencies
16+
run: |
17+
sudo apt -y update
18+
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
19+
20+
- name: Build AppImageUpdate
21+
run: |
22+
git clone --recursive https://github.com/AppImage/AppImageUpdate
23+
cd AppImageUpdate/
24+
mkdir build/
25+
cd build/
26+
cmake -DBUILD_QT_UI=OFF -DCMAKE_INSTALL_PREFIX=/usr ..
27+
make -j$(nproc)
28+
sudo make install
29+
cd ..
30+
31+
- name: Build AppImageKit
32+
run: |
33+
git clone --recursive https://github.com/AppImage/AppImageKit
34+
cd AppImageKit/
35+
mkdir build/
36+
cd build/
37+
cmake -DUSE_SYSTEM_XZ=ON -DUSE_SYSTEM_INOTIFY_TOOLS=ON -DUSE_SYSTEM_LIBARCHIVE=ON -DUSE_SYSTEM_GTEST=OFF -DCMAKE_INSTALL_PREFIX=/usr ..
38+
make -j$(nproc)
39+
sudo make install

0 commit comments

Comments
 (0)