mirror of
https://gitlab.com/gabmus/envision.git
synced 2025-04-19 19:14:53 +00:00
30 lines
913 B
YAML
30 lines
913 B
YAML
image: "ubuntu:24.04"
|
|
|
|
stages:
|
|
- check
|
|
- deploy
|
|
|
|
commitcheck:
|
|
image: "python"
|
|
stage: check
|
|
variables:
|
|
GIT_STRATEGY: clone
|
|
script:
|
|
# only run for merge requests
|
|
- if [ -z "$CI_MERGE_REQUEST_TITLTE" ]; then true; else python ./dist/tagging/check_conventional_commit.py "$CI_MERGE_REQUEST_TARGET_BRANCH_NAME"; fi
|
|
|
|
appimage:
|
|
stage: deploy
|
|
script:
|
|
- apt-get update
|
|
- apt-get install libgtk-4-dev libadwaita-1-dev libssl-dev libjxl-dev libvte-2.91-gtk4-dev meson ninja-build git desktop-file-utils gettext file libusb-dev libusb-1.0-0-dev libopenxr-dev curl -y
|
|
- curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs -o /tmp/rustup.sh
|
|
- chmod +x /tmp/rustup.sh
|
|
- /tmp/rustup.sh -y
|
|
- source "$HOME/.cargo/env"
|
|
- rustup component add clippy
|
|
- bash ./dist/appimage/build_appimage.sh
|
|
artifacts:
|
|
paths:
|
|
- Envision-*.AppImage
|
|
expire_in: 1 month
|