annotate .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
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: |
9d9e6242dd1a CI/macos: initial macos CI, CI/windows: fix 64-bit build?
Paper <paper@paper.us.eu.org>
parents:
diff changeset
23 cd osxcross
9d9e6242dd1a CI/macos: initial macos CI, CI/windows: fix 64-bit build?
Paper <paper@paper.us.eu.org>
parents:
diff changeset
24 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
25 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
26 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
27 cd ..
9d9e6242dd1a CI/macos: initial macos CI, CI/windows: fix 64-bit build?
Paper <paper@paper.us.eu.org>
parents:
diff changeset
28 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
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++
9d9e6242dd1a CI/macos: initial macos CI, CI/windows: fix 64-bit build?
Paper <paper@paper.us.eu.org>
parents:
diff changeset
30 make
9d9e6242dd1a CI/macos: initial macos CI, CI/windows: fix 64-bit build?
Paper <paper@paper.us.eu.org>
parents:
diff changeset
31 triggers:
9d9e6242dd1a CI/macos: initial macos CI, CI/windows: fix 64-bit build?
Paper <paper@paper.us.eu.org>
parents:
diff changeset
32 - action: email
9d9e6242dd1a CI/macos: initial macos CI, CI/windows: fix 64-bit build?
Paper <paper@paper.us.eu.org>
parents:
diff changeset
33 condition: failure
9d9e6242dd1a CI/macos: initial macos CI, CI/windows: fix 64-bit build?
Paper <paper@paper.us.eu.org>
parents:
diff changeset
34 to: Paper <mrpapersonic@gmail.com>