Mercurial > minori
comparison .builds/windows.yml @ 246:f475e168fac8
CI: add experimental windows build
| author | Paper <paper@paper.us.eu.org> |
|---|---|
| date | Tue, 23 Jan 2024 10:16:25 -0500 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 245:8b174bcde667 | 246:f475e168fac8 |
|---|---|
| 1 image: debian/bookworm | |
| 2 packages: | |
| 3 - automake | |
| 4 - autoconf | |
| 5 - libtool | |
| 6 sources: | |
| 7 - https://hg.sr.ht/~mrpapersonic/minori | |
| 8 tasks: | |
| 9 - install-docker: | | |
| 10 # Add Docker's official GPG key: | |
| 11 sudo apt update | |
| 12 sudo apt install ca-certificates curl gnupg | |
| 13 sudo install -m 0755 -d /etc/apt/keyrings | |
| 14 curl -fsSL https://download.docker.com/linux/debian/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg | |
| 15 sudo chmod a+r /etc/apt/keyrings/docker.gpg | |
| 16 | |
| 17 # Add the repository to Apt sources: | |
| 18 echo \ | |
| 19 "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/debian \ | |
| 20 $(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \ | |
| 21 sudo tee /etc/apt/sources.list.d/docker.list > /dev/null | |
| 22 sudo apt update | |
| 23 | |
| 24 sudo apt install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin | |
| 25 - build: | | |
| 26 export ARCH="x86_64" | |
| 27 cd minori | |
| 28 autoreconf -i | |
| 29 | |
| 30 mkdir build | |
| 31 sudo docker run -e MSYSTEM=MINGW64 -w "$PWD/build" amitie10g/msys2 "/bin/bash -c 'pacman -S --noconfirm mingw-w64-$ARCH-qt5-base mingw-w64-$ARCH-qt5-translations mingw-w64-$ARCH-qt5-tools mingw-w64-$ARCH-toolchain mingw-w64-$ARCH-curl mingw-w64-$ARCH-make; ../configure; make; ../scripts/win32/deploy_build.sh'" | |
| 32 | |
| 33 triggers: | |
| 34 - action: email | |
| 35 condition: failure | |
| 36 to: Paper <mrpapersonic@gmail.com> |
