win32u: Don't allow bitmap fonts if OUT_TT_ONLY_PRECIS output precision is specified.
[wine.git] / tools / gitlab / build.yml
blobb474f271c8b83c50b3d3ae6c1273391fcb26264c
1 # CI script for building Wine
3 .wine-build:
4   stage: build
5   image: $CI_REGISTRY/wine/wine:debian-bullseye
6   interruptible: true
7   variables:
8     GIT_DEPTH: 0
9   cache:
10     - paths:
11         - ccache/
12     - key:
13         files:
14           - configure.ac
15       paths:
16         - build32/config.cache
17         - build64/config.cache
18   before_script:
19     - export BASEDIR="$PWD"
20     - export CCACHE_BASEDIR="$BASEDIR"
21     - export CCACHE_DIR="$BASEDIR/ccache"
22     - export CCACHE_COMPILERCHECK=content
23     - export PATH="/usr/lib/ccache:$PATH"
24     - git config --global --add safe.directory $CI_PROJECT_DIR
25     - mkdir -p build32 build64
26     - rm -fr .git/rebase-merge  # in case a previous CI run failed in git rebase
28 build-linux:
29   extends: .wine-build
30   rules:
31     - if: $CI_PIPELINE_SOURCE == 'merge_request_event'
32   artifacts:
33     expire_in: 1 day
34     paths:
35       - usr/local/
36   script:
37     - git rebase $CI_MERGE_REQUEST_DIFF_BASE_SHA --exec ./tools/gitlab/build-linux
39 build-mac:
40   extends: .wine-build
41   rules:
42     - if: $CI_PIPELINE_SOURCE == 'merge_request_event'
43   tags:
44     - mac
45   artifacts:
46     when: on_failure
47     paths:
48       - build64/config.log
49       - build32/config.log
50   script:
51     - export PATH="/usr/local/opt/ccache/libexec:$PATH"
52     - git rebase $CI_MERGE_REQUEST_DIFF_BASE_SHA --exec ./tools/gitlab/build-mac
54 build-daily-linux:
55   extends: .wine-build
56   rules:
57     - if: $CI_PIPELINE_SOURCE == 'trigger' && $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
58   artifacts:
59     expire_in: 1 day
60     paths:
61       - usr/local/
62   script:
63     - ./tools/gitlab/build-linux
65 build-winetest:
66   stage: build
67   image: $CI_REGISTRY/wine/wine:debian-bullseye
68   rules:
69     - if: $CI_PIPELINE_SOURCE == 'trigger' && $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
70   needs:
71     - job: build-daily-linux
72   variables:
73     GIT_STRATEGY: none
74   artifacts:
75     name: winetest
76     paths:
77       - winetest.exe
78       - winetest64.exe
79   script:
80     - mv usr/local/lib/wine/i386-windows/winetest.exe winetest.exe
81     - mv usr/local/lib/wine/x86_64-windows/winetest.exe winetest64.exe