Mercurial > minori
annotate .builds/osx.yml @ 37:9ae9365dd4ea
window.cpp: fix sidebar on Linux
| author | Paper <mrpapersonic@gmail.com> |
|---|---|
| date | Thu, 21 Sep 2023 17:15:43 -0400 |
| parents | 329b7921a6be |
| children | 1a34fd7469b9 |
| rev | line source |
|---|---|
|
35
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
34
diff
changeset
|
1 image: debian/stable |
|
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
34
diff
changeset
|
2 packages: |
|
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
34
diff
changeset
|
3 - cmake |
|
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
34
diff
changeset
|
4 - clang |
|
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
34
diff
changeset
|
5 - git |
|
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
34
diff
changeset
|
6 - patch |
|
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
34
diff
changeset
|
7 - python3 |
|
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
34
diff
changeset
|
8 - libssl-dev |
|
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
34
diff
changeset
|
9 - lzma-dev |
|
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
34
diff
changeset
|
10 - libxml2-dev |
|
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
34
diff
changeset
|
11 - xz |
|
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
34
diff
changeset
|
12 - bzip2 |
|
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
34
diff
changeset
|
13 - cpio |
|
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
34
diff
changeset
|
14 - libbz2 |
|
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
34
diff
changeset
|
15 - zlib1g-dev |
|
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
34
diff
changeset
|
16 - llvm-dev |
|
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
34
diff
changeset
|
17 - uuid-dev |
|
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
34
diff
changeset
|
18 sources: |
|
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
34
diff
changeset
|
19 - https://hg.sr.ht/~mrpapersonic/minori |
|
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
34
diff
changeset
|
20 - https://github.com/tpoechtrager/osxcross |
|
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
34
diff
changeset
|
21 tasks: |
|
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
34
diff
changeset
|
22 - build: | |
|
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
34
diff
changeset
|
23 cd osxcross/tarballs |
|
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
34
diff
changeset
|
24 wget "https://github.com/phracker/MacOSX-SDKs/releases/download/11.3/MacOSX10.13.sdk.tar.xz" |
|
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
34
diff
changeset
|
25 cd .. |
|
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
34
diff
changeset
|
26 UNATTENDED=1 ./build.sh |
|
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
34
diff
changeset
|
27 export PATH="$(pwd)/target/bin:$PATH" |
|
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
34
diff
changeset
|
28 osxcross-macports -v install qt5-qtbase curl pkgconfig |
|
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
34
diff
changeset
|
29 export PKG_CONFIG_PATH="$(pwd)/target/macports/pkgs/opt/local/lib/pkgconfig" |
|
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
34
diff
changeset
|
30 cd ../minori |
|
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
34
diff
changeset
|
31 mkdir build |
|
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
34
diff
changeset
|
32 cd build |
|
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
34
diff
changeset
|
33 cmake .. -G "Unix Makefiles" -DCMAKE_SYSTEM_NAME="Darwin" -DCMAKE_C_COMPILER="o64-clang" -DCMAKE_CXX_COMPILER="o64-clang++" -DCMAKE_FIND_ROOT_PATH="$(pwd)/../../osxcross/target/macports/pkgs/opt/local/" -DCMAKE_OSX_SYSROOT="$(pwd)/../../osxcross/target/SDK/MacOSX10.13.sdk/" |
|
329b7921a6be
ci/osx: use debian instead of alpine
Paper <mrpapersonic@gmail.com>
parents:
34
diff
changeset
|
34 make |
