Mercurial > msvpvf
diff .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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/.builds/windows.yml Fri Mar 22 22:26:57 2024 -0400 @@ -0,0 +1,33 @@ +image: debian/bookworm +packages: + - mingw-w64 +sources: + - hg+https://hg.sr.ht/~mrpapersonic/msvpvf +tasks: + - build: | + cd msvpvf + + # x86 ANSI + CC=i686-w64-mingw32-gcc make gui + strip gui.exe + mv gui.exe msvpvf-i686-ansi.exe + + # x86 Unicode + make clean + CC=i686-w64-mingw32-gcc make gui CFLAGS="-DUNICODE -D_UNICODE" + strip gui.exe + mv gui.exe msvpvf-i686-unicode.exe + + # x64 Unicode + make clean + CC=x86_64-w64-mingw32-gcc make gui CFLAGS="-DUNICODE -D_UNICODE" + strip gui.exe + mv gui.exe msvpvf-x86_64-unicode.exe +artifacts: + - msvpvf/msvpvf-i686-ansi.exe + - msvpvf/msvpvf-i686-unicode.exe + - msvpvf/msvpvf-x86_64-unicode.exe +triggers: + - action: email + condition: failure + to: Paper <paper@paper.us.eu.org>