Merge branch 'feat/debian-pipeline' into 'main'

feat: migrate pipeline to debian

See merge request gabmus/rex2!2
This commit is contained in:
GabMus 2023-07-09 08:04:55 +00:00
commit 66ff1cd221
2 changed files with 9 additions and 6 deletions

View file

@ -1,4 +1,4 @@
image: "archlinux:base-devel" image: "debian:experimental"
stages: stages:
- test - test
@ -7,19 +7,23 @@ stages:
cargo:test: cargo:test:
stage: test stage: test
script: script:
- pacman -Syu gtk4 libadwaita gtksourceview5 openssl desktop-file-utils meson ninja git rust bash fuse2 --needed --noconfirm - apt-get update
- apt-get -t experimental install libgtk-4-dev libadwaita-1-dev libgtksourceview-5-dev libssl-dev -y
- apt-get install -y rust-all cargo meson ninja-build git desktop-file-utils gettext libjxl-dev file -y
- rustc --version && cargo --version # Print version info for debugging - rustc --version && cargo --version # Print version info for debugging
- meson setup build -Dprefix="$PWD/build/localprefix" -Dprofile=development - meson setup build -Dprefix="$PWD/build/localprefix" -Dprofile=development
- ninja -C build - ninja -C build
- cargo test --workspace --verbose - cargo test --workspace --verbose
cache: cache:
paths: paths:
- /var/cache/pacman - /var/cache/apt
appimage: appimage:
stage: deploy stage: deploy
script: script:
- pacman -Syu gtk4 libadwaita gtksourceview5 openssl desktop-file-utils meson ninja git rust bash fuse2 --needed --noconfirm - apt-get update
- apt-get -t experimental install libgtk-4-dev libadwaita-1-dev libgtksourceview-5-dev libssl-dev -y
- apt-get install -y rust-all cargo meson ninja-build git desktop-file-utils gettext libjxl-dev file -y
- bash ./dist/appimage/build_appimage.sh - bash ./dist/appimage/build_appimage.sh
artifacts: artifacts:
paths: paths:

View file

@ -12,8 +12,7 @@ gettext-rs = { version = "0.7.0", features = [
"gettext-system" "gettext-system"
] } ] }
gtk4 = { version = "0.6.6", features = [ gtk4 = { version = "0.6.6", features = [
"v4_6", "v4_10",
"v4_10"
] } ] }
nix = "0.26.2" nix = "0.26.2"
phf = "0.11.1" phf = "0.11.1"