summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
blob: 4606887d9eb853dd5609d5d25591f5e8ae807ba3 (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
27
28
29
30
stages:
  - build
#  - test
#  - deploy
#  - release

mxe_gcc5:
  image: registry.gitlab.com/jak89_1/docker-testing:v1.0.4
  stage: build
  only:
    - branches@jak89_1/docker-testing
  script:
    - cd /
    - mkdir -p /builds/jak89_1/docker-testing/logs/ || true
    - mkdir -p /builds/jak89_1/docker-testing/build/ || true
    - git clone https://gitlab.com/jak89_1/docker-testing.git -b $CI_COMMIT_BRANCH /opt || exit 1
    - rm -rf /opt/.git/
    - mv -f opt/* /
    - git clone https://gitlab.com/jak89_1/manaplus.git -b master || exit 1
    - chmod +x ./manaplus.sh && ./manaplus.sh
  variables:
    CROSS: i686-w64-mingw32.shared
  artifacts:
    paths:
      - build
      - logs
    when: always
    expire_in: 3 week
  tags:
    - docker