[go: up one dir, main page]

File: .gitlab-ci.yml

package info (click to toggle)
comixcursors 0.10.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 876 kB
  • sloc: sh: 588; makefile: 153; python: 128
file content (44 lines) | stat: -rw-r--r-- 1,136 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# This file is a template, and might need editing before it works on your project.
# see https://docs.gitlab.com/ce/ci/yaml/README.html for all available options

# you can delete this line if you're not using Docker
image: registry.gitlab.com/limitland/comixcursors/xcursorgen

#before_script:
#  - echo "Before script section"
#  - echo "For example you might run an update here or install a build dependency"
#  - echo "Or perhaps you might print out some debugging details"

#after_script:
#  - echo "After script section"

build-distribution:
  stage: build
  script:
    - echo "Building..."
    - mkdir -p /root/rpmbuild/{BUILD,RPMS,SOURCES,SPECS,SRPMS,RPMS/noarch}
    - export RPMDIR=/root/rpmbuild
    - ./build-distribution
    - cp ./deployment/index.html ./dist
  artifacts:
    paths:
    - dist

#test1:
#  stage: test
#  script:
#    - echo "Testing..."
#    - echo "For example run a test suite"

pages:
  stage: deploy
  script:
    - echo "Deploying to public pages..."
    - mkdir -p ./public
    - rm -rf ./public/ComixCursors-*
    - cp ./dist/* ./public/
  artifacts:
    paths:
    - public
  only:
    - master