annotate .builds/macos.yml @ 219:2f6d27fcdf7d

dep/animia: wayland: fixup wlroots code
author Paper <paper@paper.us.eu.org>
date Sun, 07 Jan 2024 13:37:50 -0500
parents 52dda8927a81
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
207
9d9e6242dd1a CI/macos: initial macos CI, CI/windows: fix 64-bit build?
Paper <paper@paper.us.eu.org>
parents:
diff changeset
1 image: debian/bookworm
9d9e6242dd1a CI/macos: initial macos CI, CI/windows: fix 64-bit build?
Paper <paper@paper.us.eu.org>
parents:
diff changeset
2 packages:
9d9e6242dd1a CI/macos: initial macos CI, CI/windows: fix 64-bit build?
Paper <paper@paper.us.eu.org>
parents:
diff changeset
3 - qtbase5-dev
9d9e6242dd1a CI/macos: initial macos CI, CI/windows: fix 64-bit build?
Paper <paper@paper.us.eu.org>
parents:
diff changeset
4 - qttools5-dev
9d9e6242dd1a CI/macos: initial macos CI, CI/windows: fix 64-bit build?
Paper <paper@paper.us.eu.org>
parents:
diff changeset
5 - cmake
9d9e6242dd1a CI/macos: initial macos CI, CI/windows: fix 64-bit build?
Paper <paper@paper.us.eu.org>
parents:
diff changeset
6 - clang
9d9e6242dd1a CI/macos: initial macos CI, CI/windows: fix 64-bit build?
Paper <paper@paper.us.eu.org>
parents:
diff changeset
7 - libcurl4-openssl-dev
9d9e6242dd1a CI/macos: initial macos CI, CI/windows: fix 64-bit build?
Paper <paper@paper.us.eu.org>
parents:
diff changeset
8 - wget
9d9e6242dd1a CI/macos: initial macos CI, CI/windows: fix 64-bit build?
Paper <paper@paper.us.eu.org>
parents:
diff changeset
9 - fuse
9d9e6242dd1a CI/macos: initial macos CI, CI/windows: fix 64-bit build?
Paper <paper@paper.us.eu.org>
parents:
diff changeset
10 - file
9d9e6242dd1a CI/macos: initial macos CI, CI/windows: fix 64-bit build?
Paper <paper@paper.us.eu.org>
parents:
diff changeset
11 - pkg-config
209
517d558ca160 CI/macos: add osxcross dependencies
Paper <paper@paper.us.eu.org>
parents: 208
diff changeset
12 # osxcross deps start
517d558ca160 CI/macos: add osxcross dependencies
Paper <paper@paper.us.eu.org>
parents: 208
diff changeset
13 - libxml2-dev
517d558ca160 CI/macos: add osxcross dependencies
Paper <paper@paper.us.eu.org>
parents: 208
diff changeset
14 - libssl-dev
517d558ca160 CI/macos: add osxcross dependencies
Paper <paper@paper.us.eu.org>
parents: 208
diff changeset
15 - lzma-dev
517d558ca160 CI/macos: add osxcross dependencies
Paper <paper@paper.us.eu.org>
parents: 208
diff changeset
16 - python3
210
52dda8927a81 CI/macos: xz -> xz-utils
Paper <paper@paper.us.eu.org>
parents: 209
diff changeset
17 - xz-utils
209
517d558ca160 CI/macos: add osxcross dependencies
Paper <paper@paper.us.eu.org>
parents: 208
diff changeset
18 - bzip2
517d558ca160 CI/macos: add osxcross dependencies
Paper <paper@paper.us.eu.org>
parents: 208
diff changeset
19 - cpio
517d558ca160 CI/macos: add osxcross dependencies
Paper <paper@paper.us.eu.org>
parents: 208
diff changeset
20 - libbz2-1.0
517d558ca160 CI/macos: add osxcross dependencies
Paper <paper@paper.us.eu.org>
parents: 208
diff changeset
21 - zlib1g-dev
207
9d9e6242dd1a CI/macos: initial macos CI, CI/windows: fix 64-bit build?
Paper <paper@paper.us.eu.org>
parents:
diff changeset
22 sources:
9d9e6242dd1a CI/macos: initial macos CI, CI/windows: fix 64-bit build?
Paper <paper@paper.us.eu.org>
parents:
diff changeset
23 - https://hg.sr.ht/~mrpapersonic/minori
219
2f6d27fcdf7d dep/animia: wayland: fixup wlroots code
Paper <paper@paper.us.eu.org>
parents: 210
diff changeset
24 - https://github.com/efa/osxcross # use fork until #409 is pulled
207
9d9e6242dd1a CI/macos: initial macos CI, CI/windows: fix 64-bit build?
Paper <paper@paper.us.eu.org>
parents:
diff changeset
25 environment:
9d9e6242dd1a CI/macos: initial macos CI, CI/windows: fix 64-bit build?
Paper <paper@paper.us.eu.org>
parents:
diff changeset
26 BUILD_SUBMITTER: hg.sr.ht
9d9e6242dd1a CI/macos: initial macos CI, CI/windows: fix 64-bit build?
Paper <paper@paper.us.eu.org>
parents:
diff changeset
27 MACOSX_DEPLOYMENT_TARGET: 10.9
219
2f6d27fcdf7d dep/animia: wayland: fixup wlroots code
Paper <paper@paper.us.eu.org>
parents: 210
diff changeset
28 UNATTENDED: 1
207
9d9e6242dd1a CI/macos: initial macos CI, CI/windows: fix 64-bit build?
Paper <paper@paper.us.eu.org>
parents:
diff changeset
29 tasks:
9d9e6242dd1a CI/macos: initial macos CI, CI/windows: fix 64-bit build?
Paper <paper@paper.us.eu.org>
parents:
diff changeset
30 - build: |
219
2f6d27fcdf7d dep/animia: wayland: fixup wlroots code
Paper <paper@paper.us.eu.org>
parents: 210
diff changeset
31 # set up osxcross
208
20fd3acd61c0 CI/macos: download macosx 10.9 sdk
Paper <paper@paper.us.eu.org>
parents: 207
diff changeset
32 cd osxcross/tarballs
20fd3acd61c0 CI/macos: download macosx 10.9 sdk
Paper <paper@paper.us.eu.org>
parents: 207
diff changeset
33 wget "https://github.com/phracker/MacOSX-SDKs/releases/download/11.3/MacOSX10.9.sdk.tar.xz"
20fd3acd61c0 CI/macos: download macosx 10.9 sdk
Paper <paper@paper.us.eu.org>
parents: 207
diff changeset
34 cd ..
207
9d9e6242dd1a CI/macos: initial macos CI, CI/windows: fix 64-bit build?
Paper <paper@paper.us.eu.org>
parents:
diff changeset
35 export TARGET_DIR="$PWD/target"
219
2f6d27fcdf7d dep/animia: wayland: fixup wlroots code
Paper <paper@paper.us.eu.org>
parents: 210
diff changeset
36 ./build.sh
207
9d9e6242dd1a CI/macos: initial macos CI, CI/windows: fix 64-bit build?
Paper <paper@paper.us.eu.org>
parents:
diff changeset
37 export PATH="$TARGET_DIR/bin:$PATH"
9d9e6242dd1a CI/macos: initial macos CI, CI/windows: fix 64-bit build?
Paper <paper@paper.us.eu.org>
parents:
diff changeset
38 cd ..
219
2f6d27fcdf7d dep/animia: wayland: fixup wlroots code
Paper <paper@paper.us.eu.org>
parents: 210
diff changeset
39
2f6d27fcdf7d dep/animia: wayland: fixup wlroots code
Paper <paper@paper.us.eu.org>
parents: 210
diff changeset
40 # deps
207
9d9e6242dd1a CI/macos: initial macos CI, CI/windows: fix 64-bit build?
Paper <paper@paper.us.eu.org>
parents:
diff changeset
41 osxcross-macports install qt5-qtbase qt5-qttools
219
2f6d27fcdf7d dep/animia: wayland: fixup wlroots code
Paper <paper@paper.us.eu.org>
parents: 210
diff changeset
42
2f6d27fcdf7d dep/animia: wayland: fixup wlroots code
Paper <paper@paper.us.eu.org>
parents: 210
diff changeset
43 # actually build the damn thing
207
9d9e6242dd1a CI/macos: initial macos CI, CI/windows: fix 64-bit build?
Paper <paper@paper.us.eu.org>
parents:
diff changeset
44 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++
9d9e6242dd1a CI/macos: initial macos CI, CI/windows: fix 64-bit build?
Paper <paper@paper.us.eu.org>
parents:
diff changeset
45 make
9d9e6242dd1a CI/macos: initial macos CI, CI/windows: fix 64-bit build?
Paper <paper@paper.us.eu.org>
parents:
diff changeset
46 triggers:
9d9e6242dd1a CI/macos: initial macos CI, CI/windows: fix 64-bit build?
Paper <paper@paper.us.eu.org>
parents:
diff changeset
47 - action: email
9d9e6242dd1a CI/macos: initial macos CI, CI/windows: fix 64-bit build?
Paper <paper@paper.us.eu.org>
parents:
diff changeset
48 condition: failure
9d9e6242dd1a CI/macos: initial macos CI, CI/windows: fix 64-bit build?
Paper <paper@paper.us.eu.org>
parents:
diff changeset
49 to: Paper <mrpapersonic@gmail.com>