# HG changeset patch # User Paper # Date 1711160817 14400 # Node ID 837c5380d6f974f8860a2eb89bac95fc64fa86de # Parent 59a86b638d40a202ef374dc300faced548fad3d7 CI: add CI builds diff -r 59a86b638d40 -r 837c5380d6f9 .builds/unix.yml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/.builds/unix.yml Fri Mar 22 22:26:57 2024 -0400 @@ -0,0 +1,18 @@ +image: debian/bookworm +packages: + - gcc + - make +sources: + - hg+https://hg.sr.ht/~mrpapersonic/msvpvf +tasks: + - build: | + # build + cd msvpvf + make + strip msvpvf +artifacts: + - msvpvf/msvpvf +triggers: + - action: email + condition: failure + to: Paper diff -r 59a86b638d40 -r 837c5380d6f9 .builds/windows.yml --- /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