From fb351d4a1be1fec8884aa6466235c6dcab43318f Mon Sep 17 00:00:00 2001 From: David Runge Date: Sat, 31 Jul 2021 15:36:13 +0200 Subject: Makefile: Fix documentation installation path Makefile: Change the directory used for documentation files to be specific for mkinitcpio-archiso (it was still that of archiso). --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index ceea8bf..fb8ebae 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ PREFIX ?= /usr/local INSTALL_DIR=$(DESTDIR)$(PREFIX)/lib/initcpio/install HOOKS_DIR=$(DESTDIR)$(PREFIX)/lib/initcpio/hooks SCRIPT_DIR=$(DESTDIR)$(PREFIX)/lib/initcpio -DOC_DIR=$(DESTDIR)$(PREFIX)/share/doc/archiso +DOC_DIR=$(DESTDIR)$(PREFIX)/share/doc/mkinitcpio-archiso INSTALL_FILES=$(wildcard install/*) HOOKS_FILES=$(wildcard hooks/*) -- cgit v1.2.3-54-g00ecf From 32f1b7698fb7a5652de76d4ca00969a853fa6628 Mon Sep 17 00:00:00 2001 From: David Runge Date: Sat, 31 Jul 2021 15:33:45 +0200 Subject: Add gitlab CI integration .gitlab-ci.yml: Add simple gitlab CI integration to run the check and install target. --- .gitlab-ci.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..24e5128 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,21 @@ +--- + +image: archlinux:latest + +stages: + - check + - integration + +check: + before_script: + - pacman --noconfirm -Syu --needed make shellcheck shfmt + script: + - make check + stage: check + +test_installation: + before_script: + - pacman --noconfirm -Syu --needed make + script: + - make install PREFIX=/usr + stage: integration -- cgit v1.2.3-54-g00ecf