comparison .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
comparison
equal deleted inserted replaced
218:c39ad2a8587d 219:2f6d27fcdf7d
19 - cpio 19 - cpio
20 - libbz2-1.0 20 - libbz2-1.0
21 - zlib1g-dev 21 - zlib1g-dev
22 sources: 22 sources:
23 - https://hg.sr.ht/~mrpapersonic/minori 23 - https://hg.sr.ht/~mrpapersonic/minori
24 - https://github.com/tpoechtrager/osxcross 24 - https://github.com/efa/osxcross # use fork until #409 is pulled
25 environment: 25 environment:
26 BUILD_SUBMITTER: hg.sr.ht 26 BUILD_SUBMITTER: hg.sr.ht
27 MACOSX_DEPLOYMENT_TARGET: 10.9 27 MACOSX_DEPLOYMENT_TARGET: 10.9
28 UNATTENDED: 1
28 tasks: 29 tasks:
29 - build: | 30 - build: |
31 # set up osxcross
30 cd osxcross/tarballs 32 cd osxcross/tarballs
31 wget "https://github.com/phracker/MacOSX-SDKs/releases/download/11.3/MacOSX10.9.sdk.tar.xz" 33 wget "https://github.com/phracker/MacOSX-SDKs/releases/download/11.3/MacOSX10.9.sdk.tar.xz"
32 cd .. 34 cd ..
33 export TARGET_DIR="$PWD/target" 35 export TARGET_DIR="$PWD/target"
34 UNATTENDED=1 ./build.sh 36 ./build.sh
35 export PATH="$TARGET_DIR/bin:$PATH" 37 export PATH="$TARGET_DIR/bin:$PATH"
36 cd .. 38 cd ..
39
40 # deps
37 osxcross-macports install qt5-qtbase qt5-qttools 41 osxcross-macports install qt5-qtbase qt5-qttools
42
43 # actually build the damn thing
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++ 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++
39 make 45 make
40 triggers: 46 triggers:
41 - action: email 47 - action: email
42 condition: failure 48 condition: failure