summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
blob: 37912dbb7bb5ddce5348f2909dfa44254882c329 (plain) (blame)
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
stages:
  - build

before_script:
  - mkdir -p _ccache
  - export CCACHE_BASEDIR=${PWD}
  - export CCACHE_DIR=${PWD}/_ccache

cache:
  paths:
    - _ccache/

build-main:
  image: alpine:edge
  stage: build
  script:
   - apk add --update cmake make musl-dev gcc gettext-dev libintl
   - mkdir build && cd build && cmake .. -DCMAKE_INSTALL_PREFIX=/usr
   - make
   - make install
   - export MUSL_LOCPATH=/usr/share/i18n/locales/musl
   - locale -a
#  artifacts:
#    paths:
#    - "build/vala-panel*.tar.xz"
#    expire_in: 1 week