2021-03-01 12:03:35 -06:00
|
|
|
name: Build AppImage
|
2021-03-02 07:20:57 -06:00
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- main
|
|
|
|
tags:
|
|
|
|
- v*
|
2023-03-14 17:56:15 -04:00
|
|
|
paths-ignore:
|
|
|
|
- web/**
|
|
|
|
- doc/**
|
2021-03-02 07:20:57 -06:00
|
|
|
|
2022-10-13 15:32:01 -05:00
|
|
|
concurrency:
|
|
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
|
|
cancel-in-progress: true
|
|
|
|
|
2021-03-01 12:03:35 -06:00
|
|
|
jobs:
|
|
|
|
build:
|
2022-09-10 12:09:46 -05:00
|
|
|
runs-on: ubuntu-22.04
|
2022-09-12 11:18:45 -05:00
|
|
|
permissions:
|
|
|
|
contents: write
|
|
|
|
discussions: write
|
2021-03-01 12:03:35 -06:00
|
|
|
steps:
|
2021-04-18 10:46:00 -05:00
|
|
|
- run: sudo apt-get -qq update
|
2021-03-01 12:03:35 -06:00
|
|
|
- name: Install dependencies
|
|
|
|
run: |
|
|
|
|
sudo apt-get install -yqq --no-install-recommends \
|
|
|
|
audacious-dev \
|
|
|
|
cmake \
|
|
|
|
gawk \
|
|
|
|
lcov \
|
|
|
|
libaudclient-dev \
|
|
|
|
libcairo2-dev \
|
|
|
|
libcurl4-gnutls-dev \
|
2022-09-10 12:13:42 -05:00
|
|
|
libdbus-glib-1-dev \
|
2022-09-10 12:20:57 -05:00
|
|
|
libfuse2 \
|
2021-03-01 12:03:35 -06:00
|
|
|
libglib2.0-dev \
|
|
|
|
libical-dev \
|
|
|
|
libimlib2-dev \
|
|
|
|
libircclient-dev \
|
2021-03-02 12:27:59 -06:00
|
|
|
libiw-dev \
|
2021-03-01 12:03:35 -06:00
|
|
|
liblua5.3-dev \
|
|
|
|
libmicrohttpd-dev \
|
|
|
|
libmysqlclient-dev \
|
|
|
|
libpulse-dev \
|
|
|
|
librsvg2-dev \
|
|
|
|
libsystemd-dev \
|
2022-12-09 17:28:40 +00:00
|
|
|
libwayland-dev \
|
2021-03-01 12:03:35 -06:00
|
|
|
libx11-dev \
|
|
|
|
libxdamage-dev \
|
|
|
|
libxext-dev \
|
|
|
|
libxft-dev \
|
|
|
|
libxinerama-dev \
|
|
|
|
libxml2-dev \
|
|
|
|
libxmmsclient-dev \
|
|
|
|
libxnvctrl-dev \
|
2022-10-14 08:13:31 -05:00
|
|
|
ncurses-dev \
|
2022-12-25 08:24:31 -05:00
|
|
|
ninja-build \
|
2022-10-14 08:13:31 -05:00
|
|
|
pandoc \
|
|
|
|
python3 \
|
|
|
|
&&
|
|
|
|
pip3 install --upgrade pyyaml
|
2021-03-01 12:03:35 -06:00
|
|
|
- name: Checkout
|
2023-09-04 17:18:19 +00:00
|
|
|
uses: actions/checkout@v4
|
2021-03-01 12:03:35 -06:00
|
|
|
- name: Import GPG Deploy Key
|
|
|
|
run: |
|
|
|
|
echo "${{ secrets.GPG_DEPLOY_KEY }}" > appimage/secret.gpg
|
|
|
|
gpg --import appimage/secret.gpg
|
|
|
|
- name: Build AppImage
|
2022-12-24 12:10:36 -05:00
|
|
|
run: CC=clang-14 CXX=clang++-14 ./appimage/build.sh
|
2022-09-12 13:15:12 -05:00
|
|
|
- name: Upload AppImage artifact
|
|
|
|
uses: actions/upload-artifact@v3
|
2021-03-01 12:03:35 -06:00
|
|
|
with:
|
2022-09-12 13:20:18 -05:00
|
|
|
name: conky-x86_64.AppImage
|
|
|
|
path: conky-x86_64.AppImage
|
|
|
|
- name: Upload AppImage checksum artifact
|
2022-09-12 13:15:12 -05:00
|
|
|
uses: actions/upload-artifact@v3
|
|
|
|
with:
|
2022-09-12 13:20:18 -05:00
|
|
|
name: conky-x86_64.AppImage.sha256
|
|
|
|
path: conky-x86_64.AppImage.sha256
|
2022-10-14 08:13:31 -05:00
|
|
|
- name: Upload man page artifact
|
|
|
|
uses: actions/upload-artifact@v3
|
|
|
|
with:
|
2022-10-14 23:34:06 -05:00
|
|
|
name: conky.1.gz
|
|
|
|
path: conky.1.gz
|
2021-03-02 09:41:45 -06:00
|
|
|
- name: Create Conky Release
|
2021-03-02 07:20:57 -06:00
|
|
|
id: create_release
|
2022-09-12 11:18:45 -05:00
|
|
|
uses: softprops/action-gh-release@v1
|
|
|
|
if: startsWith(github.ref, 'refs/tags/')
|
2021-03-02 07:20:57 -06:00
|
|
|
with:
|
|
|
|
draft: false
|
|
|
|
prerelease: false
|
2022-09-19 10:16:35 -05:00
|
|
|
discussion_category_name: General
|
2022-09-12 11:18:45 -05:00
|
|
|
generate_release_notes: true
|
|
|
|
files: |
|
2022-09-12 13:21:10 -05:00
|
|
|
conky-x86_64.AppImage
|
|
|
|
conky-x86_64.AppImage.sha256
|
2022-10-14 23:34:06 -05:00
|
|
|
conky.1.gz
|