FG42/.gitlab-ci.yml

25 lines
529 B
YAML
Raw Normal View History

2020-03-16 00:14:39 +00:00
stages:
- build
build:
image: debian:stable-slim
2020-03-16 00:14:39 +00:00
stage: build
before_script:
2020-03-16 19:12:59 +00:00
- apt update && apt install -y make wget git emacs sudo
- git clone -b fpkg-v2 https://gitlab.com/FG42/FG42 ~/.fg42/ && cd ~/.fg42/ && make install && cd
2020-03-16 00:14:39 +00:00
script:
2020-03-16 20:58:56 +00:00
- fg42 -nw --script build.el
build-package:
extends: build
script:
- fg42 -nw --script build.el
- tar zcf fg42.$CI_COMMIT_TAG.tar.gz ~/.fg42/
artifacts:
when: on_success
paths:
- ~/fg42.$CI_COMMIT_TAG.tar.gz
only:
- tags
- master