Skip to content

Commit

Permalink
Build on Ubuntu
Browse files Browse the repository at this point in the history
Everything in the yml file for ease of understanding. No Docker.

For #239
  • Loading branch information
probonopd authored Nov 25, 2024
1 parent 73b422f commit bec1968
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/ubuntu.yml
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

0 comments on commit bec1968

Please sign in to comment.