msvcrt: Add _mbsncmp_l implementation.
[wine.git] / tools / gitlab / test.yml
blob590eacb2438cdb84b7e5275f26df17a20d3d968a
1 # CI script for testing Wine
3 .wine-test:
4   stage: test
5   image: $CI_REGISTRY/wine/wine:debian-bookworm
6   interruptible: true
7   variables:
8     GIT_STRATEGY: none
9     GECKO_VER: 2.47.4
10     MONO_VER: 8.1.0
11   cache:
12     - key: wine-gecko-$GECKO_VER
13       paths:
14         - wine-gecko-$GECKO_VER-x86.msi
15         - wine-gecko-$GECKO_VER-x86_64.msi
16     - key: wine-mono-$MONO_VER
17       paths:
18         - wine-mono-$MONO_VER-x86.msi
19   before_script:
20     - export BASEDIR=$PWD
21     - export PATH=$BASEDIR/usr/local/bin:$PATH
22     - export DISPLAY=:0
23     - export LC_ALL=C.UTF-8
24     - export LP_NUM_THREADS=4
25     - export WINEDEBUG=err-all,fixme-all
26     - |
27       cat >$HOME/xorg.conf << EOF
28       Section "Device"
29         Identifier "dummy"
30         Driver "dummy"
31         VideoRam 32768
32       EndSection
33       EOF
34     - echo 'exec /usr/bin/fvwm -f config -c "Style * MwmDecor" -c "Style * UsePPosition" 2>/dev/null' >$HOME/.xinitrc
35     - startx -- -config $HOME/xorg.conf $DISPLAY &
36     - test -f wine-gecko-$GECKO_VER-x86.msi || curl -o wine-gecko-$GECKO_VER-x86.msi https://dl.winehq.org/wine/wine-gecko/$GECKO_VER/wine-gecko-$GECKO_VER-x86.msi
37     - test -f wine-gecko-$GECKO_VER-x86_64.msi || curl -o wine-gecko-$GECKO_VER-x86_64.msi https://dl.winehq.org/wine/wine-gecko/$GECKO_VER/wine-gecko-$GECKO_VER-x86_64.msi
38     - test -f wine-mono-$MONO_VER-x86.msi || curl -o wine-mono-$MONO_VER-x86.msi https://dl.winehq.org/wine/wine-mono/$MONO_VER/wine-mono-$MONO_VER-x86.msi
39     - mkdir -p $HOME/Documents $HOME/Desktop usr/local/share/wine/gecko usr/local/share/wine/mono
40     - ln -sf $BASEDIR/wine-gecko-$GECKO_VER-x86.msi $BASEDIR/wine-gecko-$GECKO_VER-x86_64.msi usr/local/share/wine/gecko
41     - ln -sf $BASEDIR/wine-mono-$MONO_VER-x86.msi usr/local/share/wine/mono
42     - pulseaudio --start --exit-idle-time=-1
43     - wine wineboot.exe -u
44     - wineserver -w
46 test-linux-64:
47   extends: .wine-test
48   variables:
49     INCLUDE_TESTS: "dinput"
50   rules:
51     - if: $CI_PIPELINE_SOURCE == 'merge_request_event'
52   needs:
53     - job: build-linux
54   script:
55     - export WINETEST_COLOR=1
56     - wine usr/local/lib/wine/x86_64-windows/winetest.exe -q -q -o - -t gitlab -u $CI_JOB_URL $INCLUDE_TESTS
58 test-linux-32:
59   extends: .wine-test
60   variables:
61     EXCLUDE_TESTS: "d3d11:d3d11 d3d9:d3d9ex d3d9:visual"
62   rules:
63     - if: $CI_PIPELINE_SOURCE == 'merge_request_event'
64   needs:
65     - job: build-linux
66   script:
67     - export WINETEST_COLOR=1
68     - wine usr/local/lib/wine/i386-windows/winetest.exe -q -q -o - -t gitlab -u $CI_JOB_URL -n $EXCLUDE_TESTS
70 debian-32:
71   extends: .wine-test
72   rules:
73     - if: $CI_PIPELINE_SOURCE == 'trigger' && $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
74   needs:
75     - job: build-daily-linux
76   script:
77     - wine usr/local/lib/wine/i386-windows/winetest.exe -q -t gitlab-$CI_JOB_NAME -u $CI_JOB_URL
79 debian-64:
80   extends: .wine-test
81   rules:
82     - if: $CI_PIPELINE_SOURCE == 'trigger' && $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
83   needs:
84     - job: build-daily-linux
85   script:
86     - wine usr/local/lib/wine/x86_64-windows/winetest.exe -q -t gitlab-$CI_JOB_NAME -u $CI_JOB_URL
88 win10-21h2-32:
89   stage: test
90   interruptible: true
91   variables:
92     GIT_STRATEGY: none
93   rules:
94     - if: $CI_PIPELINE_SOURCE == 'trigger' && $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
95   needs:
96     - job: build-winetest
97   tags:
98     - win10-21h2
99   script:
100     - ./winetest.exe -q -t gitlab-$CI_JOB_NAME -u $CI_JOB_URL
102 win10-21h2-64:
103   stage: test
104   interruptible: true
105   variables:
106     GIT_STRATEGY: none
107   rules:
108     - if: $CI_PIPELINE_SOURCE == 'trigger' && $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
109   needs:
110     - job: build-winetest
111   tags:
112     - win10-21h2
113   script:
114     - ./winetest64.exe -q -t gitlab-$CI_JOB_NAME -u $CI_JOB_URL