annotate .builds/macos.yml @ 208:20fd3acd61c0

CI/macos: download macosx 10.9 sdk
author Paper <paper@paper.us.eu.org>
date Tue, 02 Jan 2024 07:11:53 -0500
parents 9d9e6242dd1a
children 517d558ca160
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 - xorg-dev # shouldn't install Xorg!
9d9e6242dd1a CI/macos: initial macos CI, CI/windows: fix 64-bit build?
Paper <paper@paper.us.eu.org>
parents:
diff changeset
12 - libwayland-client0
9d9e6242dd1a CI/macos: initial macos CI, CI/windows: fix 64-bit build?
Paper <paper@paper.us.eu.org>
parents:
diff changeset
13 - libwayland-dev
9d9e6242dd1a CI/macos: initial macos CI, CI/windows: fix 64-bit build?
Paper <paper@paper.us.eu.org>
parents:
diff changeset
14 - pkg-config
9d9e6242dd1a CI/macos: initial macos CI, CI/windows: fix 64-bit build?
Paper <paper@paper.us.eu.org>
parents:
diff changeset
15 sources:
9d9e6242dd1a CI/macos: initial macos CI, CI/windows: fix 64-bit build?
Paper <paper@paper.us.eu.org>
parents:
diff changeset
16 - https://hg.sr.ht/~mrpapersonic/minori
9d9e6242dd1a CI/macos: initial macos CI, CI/windows: fix 64-bit build?
Paper <paper@paper.us.eu.org>
parents:
diff changeset
17 - https://github.com/tpoechtrager/osxcross
9d9e6242dd1a CI/macos: initial macos CI, CI/windows: fix 64-bit build?
Paper <paper@paper.us.eu.org>
parents:
diff changeset
18 environment:
9d9e6242dd1a CI/macos: initial macos CI, CI/windows: fix 64-bit build?
Paper <paper@paper.us.eu.org>
parents:
diff changeset
19 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
20 MACOSX_DEPLOYMENT_TARGET: 10.9
9d9e6242dd1a CI/macos: initial macos CI, CI/windows: fix 64-bit build?
Paper <paper@paper.us.eu.org>
parents:
diff changeset
21 tasks:
9d9e6242dd1a CI/macos: initial macos CI, CI/windows: fix 64-bit build?
Paper <paper@paper.us.eu.org>
parents:
diff changeset
22 - build: |
208
20fd3acd61c0 CI/macos: download macosx 10.9 sdk
Paper <paper@paper.us.eu.org>
parents: 207
diff changeset
23 cd osxcross/tarballs
20fd3acd61c0 CI/macos: download macosx 10.9 sdk
Paper <paper@paper.us.eu.org>
parents: 207
diff changeset
24 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
25 cd ..
207
9d9e6242dd1a CI/macos: initial macos CI, CI/windows: fix 64-bit build?
Paper <paper@paper.us.eu.org>
parents:
diff changeset
26 export TARGET_DIR="$PWD/target"
9d9e6242dd1a CI/macos: initial macos CI, CI/windows: fix 64-bit build?
Paper <paper@paper.us.eu.org>
parents:
diff changeset
27 UNATTENDED=1 ./build.sh
9d9e6242dd1a CI/macos: initial macos CI, CI/windows: fix 64-bit build?
Paper <paper@paper.us.eu.org>
parents:
diff changeset
28 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
29 cd ..
9d9e6242dd1a CI/macos: initial macos CI, CI/windows: fix 64-bit build?
Paper <paper@paper.us.eu.org>
parents:
diff changeset
30 osxcross-macports install qt5-qtbase qt5-qttools
9d9e6242dd1a CI/macos: initial macos CI, CI/windows: fix 64-bit build?
Paper <paper@paper.us.eu.org>
parents:
diff changeset
31 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
32 make
9d9e6242dd1a CI/macos: initial macos CI, CI/windows: fix 64-bit build?
Paper <paper@paper.us.eu.org>
parents:
diff changeset
33 triggers:
9d9e6242dd1a CI/macos: initial macos CI, CI/windows: fix 64-bit build?
Paper <paper@paper.us.eu.org>
parents:
diff changeset
34 - action: email
9d9e6242dd1a CI/macos: initial macos CI, CI/windows: fix 64-bit build?
Paper <paper@paper.us.eu.org>
parents:
diff changeset
35 condition: failure
9d9e6242dd1a CI/macos: initial macos CI, CI/windows: fix 64-bit build?
Paper <paper@paper.us.eu.org>
parents:
diff changeset
36 to: Paper <mrpapersonic@gmail.com>