File tree Expand file tree Collapse file tree 2 files changed +20
-4
lines changed
tests/projects/other/multiplats_xcode Expand file tree Collapse file tree 2 files changed +20
-4
lines changed Original file line number Diff line number Diff line change @@ -33,10 +33,10 @@ jobs:
3333 -
uses :
little-core-labs/[email protected] 3434 id : tagName
3535
36- - name : Installation
36+ - name : Install dlang toolchain
3737 run : |
38- brew install dmd
39- brew install dub
38+ brew install dmd dub
39+ dmd --version
4040
4141 - name : Tests
4242 run : |
Original file line number Diff line number Diff line change @@ -3,6 +3,22 @@ function main(t)
33 os .exec (" xmake f -c -vD" )
44 os .exec (" xmake -rvD" )
55 os .exec (" xmake f -c -vD -p iphoneos" )
6- os .exec (" xmake -rvD" )
6+ -- build only arm64 target first, avoid building armv7 if SDK doesn't support it
7+ os .exec (" xmake -rvD test_iphoneos" )
8+ -- try to build armv7 target, skip if SDK doesn't support it
9+ try
10+ {
11+ function ()
12+ os .exec (" xmake f -c -vD -p iphoneos -a armv7" )
13+ os .exec (" xmake -rvD test_iphoneos_armv7" )
14+ end ,
15+ catch
16+ {
17+ function (errors )
18+ -- SDK doesn't support armv7, skip this target
19+ cprint (" ${color.warning}skip test_iphoneos_armv7: SDK doesn't support armv7" )
20+ end
21+ }
22+ }
723 end
824end
You can’t perform that action at this time.
0 commit comments