Mercurial > minori
comparison .builds/macos.yml @ 207:9d9e6242dd1a
CI/macos: initial macos CI, CI/windows: fix 64-bit build?
author | Paper <paper@paper.us.eu.org> |
---|---|
date | Tue, 02 Jan 2024 07:08:23 -0500 |
parents | |
children | 20fd3acd61c0 |
comparison
equal
deleted
inserted
replaced
206:9e03e23c7a44 | 207:9d9e6242dd1a |
---|---|
1 image: debian/bookworm | |
2 packages: | |
3 - qtbase5-dev | |
4 - qttools5-dev | |
5 - cmake | |
6 - clang | |
7 - libcurl4-openssl-dev | |
8 - wget | |
9 - fuse | |
10 - file | |
11 - xorg-dev # shouldn't install Xorg! | |
12 - libwayland-client0 | |
13 - libwayland-dev | |
14 - pkg-config | |
15 sources: | |
16 - https://hg.sr.ht/~mrpapersonic/minori | |
17 - https://github.com/tpoechtrager/osxcross | |
18 environment: | |
19 BUILD_SUBMITTER: hg.sr.ht | |
20 MACOSX_DEPLOYMENT_TARGET: 10.9 | |
21 tasks: | |
22 - build: | | |
23 cd osxcross | |
24 export TARGET_DIR="$PWD/target" | |
25 UNATTENDED=1 ./build.sh | |
26 export PATH="$TARGET_DIR/bin:$PATH" | |
27 cd .. | |
28 osxcross-macports install qt5-qtbase qt5-qttools | |
29 CC="o64-clang" CXX="o64-clang++" CXXFLAGS="-stdlib=libc++" cmake .. -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER= -DCMAKE_CXX_COMPILER=o64-clang++ | |
30 make | |
31 triggers: | |
32 - action: email | |
33 condition: failure | |
34 to: Paper <mrpapersonic@gmail.com> |