Skip to content

fix

fix #4

Workflow file for this run

name: AppImage
on:
workflow_dispatch:
push:
tags:
- "v*"
env:
CARGO_TERM_COLOR: always
jobs:
build-appimage:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Install build dependencies
run: |
sudo apt-get update
sudo apt-get install -y \
build-essential \
cmake \
pkg-config \
libx11-dev \
libxext-dev \
libxft-dev \
libxinerama-dev \
libxcursor-dev \
libxrender-dev \
libxfixes-dev \
libpango1.0-dev \
libglu1-mesa-dev \
imagemagick
- name: Set up Rust
uses: dtolnay/rust-toolchain@stable
with:
toolchain: 1.90.0
- name: Build release binary
run: cargo build --release
- name: Build AppImage
env:
APPIMAGE_EXTRACT_AND_RUN: "1"
run: bash packaging/linux/appimage/create_appdir.sh
- name: Upload AppImage artifact
uses: actions/upload-artifact@v4
with:
name: diskfmt-AppImage-${{ runner.os }}-${{ runner.arch }}
path: target/appimage/*.AppImage
if-no-files-found: error