FG42/.gitlab-ci.yml

31 lines
600 B
YAML
Raw Normal View History

2020-03-16 00:14:39 +00:00
stages:
- build
2020-03-17 10:56:25 +00:00
.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 &&
2020-03-16 00:14:39 +00:00
script:
- cd ~/.fg42/ && fg42 -nw --script build.el
2020-03-17 10:56:25 +00:00
build-branches:
extends: .build
only:
- branches
except:
- tags
build-package:
2020-03-17 10:56:25 +00:00
extends: .build
script:
- cd /root/.fg42/ && fg42 -nw --script build.el && cd /
artifacts:
when: on_success
name: fg42.$CI_COMMIT_TAG
paths:
- /root/.fg42/
only:
- tags