Merge branch 'add_ci' into 'master'

Add ci

See merge request dskoll/remind!2
This commit is contained in:
Dianne Skoll
2022-09-19 17:54:45 +00:00
2 changed files with 14 additions and 1 deletions

13
.gitlab-ci.yml Normal file
View File

@@ -0,0 +1,13 @@
tests:
image: 'debian:stable-slim'
before_script:
- apt update && apt-get -y install gcc make
- useradd --create-home testuser
- chown -R testuser .
- chmod -R go-w .
script:
- LANG=C.UTF-8 su testuser -c 'make test'
artifacts:
when: always
paths:
- tests/test.out

View File

@@ -39,7 +39,7 @@ install-stripped:
@$(MAKE) -C rem2html install
@$(MAKE) -C rem2pdf -f Makefile.top install INSTALL_BASE=$(INSTALL_BASE)
test:
test: all
@$(MAKE) -C src -s test
distclean: clean