comparison .builds/windows.yml @ 83:837c5380d6f9

CI: add CI builds
author Paper <paper@paper.us.eu.org>
date Fri, 22 Mar 2024 22:26:57 -0400
parents
children f4b0ff679229
comparison
equal deleted inserted replaced
82:59a86b638d40 83:837c5380d6f9
1 image: debian/bookworm
2 packages:
3 - mingw-w64
4 sources:
5 - hg+https://hg.sr.ht/~mrpapersonic/msvpvf
6 tasks:
7 - build: |
8 cd msvpvf
9
10 # x86 ANSI
11 CC=i686-w64-mingw32-gcc make gui
12 strip gui.exe
13 mv gui.exe msvpvf-i686-ansi.exe
14
15 # x86 Unicode
16 make clean
17 CC=i686-w64-mingw32-gcc make gui CFLAGS="-DUNICODE -D_UNICODE"
18 strip gui.exe
19 mv gui.exe msvpvf-i686-unicode.exe
20
21 # x64 Unicode
22 make clean
23 CC=x86_64-w64-mingw32-gcc make gui CFLAGS="-DUNICODE -D_UNICODE"
24 strip gui.exe
25 mv gui.exe msvpvf-x86_64-unicode.exe
26 artifacts:
27 - msvpvf/msvpvf-i686-ansi.exe
28 - msvpvf/msvpvf-i686-unicode.exe
29 - msvpvf/msvpvf-x86_64-unicode.exe
30 triggers:
31 - action: email
32 condition: failure
33 to: Paper <paper@paper.us.eu.org>