File tree Expand file tree Collapse file tree 1 file changed +21
-10
lines changed
Expand file tree Collapse file tree 1 file changed +21
-10
lines changed Original file line number Diff line number Diff line change @@ -170,22 +170,33 @@ jobs:
170170 - build-macos-arm
171171
172172 steps :
173- - name : Download Artifacts
173+ - name : Checkout
174+ uses : actions/checkout@v4
175+
176+ - name : Download Mac x86-64 Artifact
174177 uses : actions/download-artifact@v4
175178 with :
176- pattern : Mac *
177-
179+ name : Mac x86-64
180+ path : x86
181+
182+ - name : Download Mac Arm Artifact
183+ uses : actions/download-artifact@v4
184+ with :
185+ name : Mac Arm
186+ path : arm
187+
178188 - name : Combine Artifacts
179- run : lipo -create -output iqtree3 "Mac x86-64/iqtree3" "Mac Arm/iqtree3"
180-
181- - name : Check Architectures
182- run : lipo -archs iqtree3
183-
189+ run : |
190+ chmod +x test_scripts/make_universal.sh
191+ file1=$(ls x86/iqtree*.zip)
192+ file2=$(ls arm/iqtree*.zip)
193+ test_scripts/make_universal.sh "$file1" "$file2"
194+
184195 - name : Upload Built Binary
185196 uses : actions/upload-artifact@v4
186197 with :
187198 name : Mac Universal
188- path : iqtree3
199+ path : iqtree*.zip
189200 if-no-files-found : error
190201
191202 build-windows-x86-64 :
@@ -228,7 +239,7 @@ jobs:
228239 -DBoost_INCLUDE_DIR=${{steps.install-boost.outputs.BOOST_ROOT}}/include ^
229240 -DBoost_LIBRARY_DIRS=${{steps.install-boost.outputs.BOOST_ROOT}}/lib ^
230241 -DCMAKE_POLICY_VERSION_MINIMUM=3.5 ^
231- -DIQTREE_FLAGS="cpp14" ..
242+ -DIQTREE_FLAGS="static cpp14" ..
232243 make -j
233244 make package
234245 env :
You can’t perform that action at this time.
0 commit comments