Commit fae4848c authored by Booloki's avatar Booloki

Change check CI stage from yaourt to yay

parent d9ffa808
Pipeline #101 failed with stages
in 9 minutes and 59 seconds
stages:
- lint
- build
- test
- check
- deb-deploy
## Stage "lint": bash shellchecking
......@@ -95,9 +95,9 @@ build:archlinux-package:
paths:
- build/*
## Stage "test" : Install/Uninstall deb packages
test:deb-install:
stage: test
## Stage "check" : Install/Uninstall deb packages
check:deb-install:
stage: check
image: ubuntu:bionic
tags:
- ubuntu
......@@ -126,7 +126,7 @@ test:deb-install:
## Stage "test" : Install/Uninstall ArchLinux packages
test:archlinux-install:
stage: test
stage: check
image: archlinux/base:latest
tags:
- archlinux
......@@ -147,15 +147,12 @@ test:archlinux-install:
- useradd builduser -m # Create the builduser
- passwd -d builduser # Delete the buildusers password
- printf 'builduser ALL=(ALL) ALL\n' | tee -a /etc/sudoers # Allow the builduser passwordless sudo
# Clone, build and install package-query (yaourt dependancy)
- sudo -u builduser bash -c 'cd ~ && git clone https://aur.archlinux.org/package-query.git && cd package-query && makepkg -si --noconfirm --noprogressbar'
# Clone, build and install yaourt
- sudo -u builduser bash -c 'cd ~ && git clone https://aur.archlinux.org/yaourt.git && cd yaourt && makepkg -si --noconfirm'
# AUR management with yaourt
# Install test (cli only)
- sudo -u builduser bash -c 'yaourt -U --noconfirm build/wazzuf-ripper-[0-9]?*.pkg.tar.xz'
# Uninstall test
- yaourt -R --noconfirm -q wazzuf-ripper*
# Clone and install yay (binary version)
- sudo -u builduser bash -c 'cd ~ && git clone https://aur.archlinux.org/yay-bin.git && cd yay && makepkg -si --noconfirm'
# Install check (cli only)
- sudo -u builduser bash -c 'yay -U --noconfirm build/wazzuf-ripper-[0-9]?*.pkg.tar.xz'
# Uninstall check
- yay -R --noconfirm -q wazzuf-ripper*
dependencies:
- build:archlinux-package
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment