Added explicit path change to build scripts of CI

This commit is contained in:
Sameer Rahmani 2020-03-16 21:39:03 +00:00
parent e7f9456790
commit a06bc3ecb1
1 changed files with 4 additions and 4 deletions

View File

@ -6,15 +6,15 @@ build:
stage: build
before_script:
- 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
- git clone -b fpkg-v2 https://gitlab.com/FG42/FG42 ~/.fg42/ && cd ~/.fg42/ && make install &&
script:
- fg42 -nw --script build.el
- cd ~/.fg42/ && fg42 -nw --script build.el
build-package:
extends: build
script:
- fg42 -nw --script build.el
- tar zcf fg42.$CI_COMMIT_TAG.tar.gz ~/.fg42/
- cd ~/.fg42/ && fg42 -nw --script build.el
- cd && tar zcf fg42.$CI_COMMIT_TAG.tar.gz ~/.fg42/
artifacts:
when: on_success
paths: