Mercurial > minori
annotate .builds/macos.yml @ 218:c39ad2a8587d
strings: include cstdint
oops
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Sun, 07 Jan 2024 13:28:00 -0500 |
parents | 52dda8927a81 |
children | 2f6d27fcdf7d |
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 | 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 |
9d9e6242dd1a
CI/macos: initial macos CI, CI/windows: fix 64-bit build?
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
24 - 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
|
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 |
9d9e6242dd1a
CI/macos: initial macos CI, CI/windows: fix 64-bit build?
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
28 tasks: |
9d9e6242dd1a
CI/macos: initial macos CI, CI/windows: fix 64-bit build?
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
29 - build: | |
208
20fd3acd61c0
CI/macos: download macosx 10.9 sdk
Paper <paper@paper.us.eu.org>
parents:
207
diff
changeset
|
30 cd osxcross/tarballs |
20fd3acd61c0
CI/macos: download macosx 10.9 sdk
Paper <paper@paper.us.eu.org>
parents:
207
diff
changeset
|
31 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
|
32 cd .. |
207
9d9e6242dd1a
CI/macos: initial macos CI, CI/windows: fix 64-bit build?
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
33 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
|
34 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
|
35 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
|
36 cd .. |
9d9e6242dd1a
CI/macos: initial macos CI, CI/windows: fix 64-bit build?
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
37 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
|
38 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
|
39 make |
9d9e6242dd1a
CI/macos: initial macos CI, CI/windows: fix 64-bit build?
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
40 triggers: |
9d9e6242dd1a
CI/macos: initial macos CI, CI/windows: fix 64-bit build?
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
41 - action: email |
9d9e6242dd1a
CI/macos: initial macos CI, CI/windows: fix 64-bit build?
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
42 condition: failure |
9d9e6242dd1a
CI/macos: initial macos CI, CI/windows: fix 64-bit build?
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
43 to: Paper <mrpapersonic@gmail.com> |