@@ -175,7 +175,7 @@ jobs:
175175 files : |
176176 build/fbx2gltf-linux.zip
177177
178- build-macos :
178+ build-macos-x86_64 :
179179 runs-on : macos-11
180180 steps :
181181 - name : Checkout
@@ -233,7 +233,7 @@ jobs:
233233
234234 - name : Conan install
235235 run : |
236- conan install . -i build -s build_type=Release --build missing
236+ conan install . -i build -s build_type=Release --build missing arch=x86_64
237237 shell : bash
238238
239239 - name : Conan build
@@ -259,6 +259,95 @@ jobs:
259259 repo_token : " ${{ secrets.GITHUB_TOKEN }}"
260260 automatic_release_tag : latest-macos
261261 prerelease : true
262- title : FBX2glTF Macos packages
262+ title : FBX2glTF Macos x86_64 packages
263263 files : |
264- build/fbx2gltf-macos.zip
264+ build/fbx2gltf-macos-x86_64.zip
265+
266+
267+ build-macos-arm64 :
268+ runs-on : macos-11
269+ steps :
270+ - name : Checkout
271+ uses : actions/checkout@v2
272+
273+ - name : Update python
274+ uses : actions/setup-python@v1
275+
276+ - name : Install conan
277+ run : |
278+ pip install --upgrade conan
279+ shell : bash
280+
281+ - name : Setup conan profile
282+ run : |
283+ conan profile new default --detect
284+ conan profile show default
285+ shell : bash
286+
287+ - name : Setup filter.lfs.required
288+ run : |
289+ git config --global filter.lfs.required false
290+ shell : bash
291+
292+ - name : Setup filter.lfs.smudge
293+ run : |
294+ git config --global filter.lfs.smudge "git-lfs smudge --skip %f"
295+ shell : bash
296+
297+ - name : Setup filter.lfs.process
298+ run : |
299+ git config --global filter.lfs.process "git-lfs filter-process --skip"
300+ shell : bash
301+
302+ - name : Fetch sdk
303+ run : |
304+ curl -O -L "https://github.com/V-Sekai/FBXSDK-Darwin/archive/refs/tags/2020.2.zip"
305+ shell : bash
306+
307+ - name : install 7z extract
308+ run : |
309+ 7z x 2020.2.zip
310+ shell : bash
311+
312+ - name : move
313+ run : |
314+ mkdir -p sdk
315+ mv ./FBXSDK-Darwin-2020.2/sdk .
316+ shell : bash
317+
318+ - name : Decompress sdk
319+ run : |
320+ zstd -d -r --rm ./sdk || true
321+ shell : bash
322+
323+ - name : Conan install
324+ run : |
325+ conan install . -i build -s build_type=Release --build missing arch=armv8
326+ shell : bash
327+
328+ - name : Conan build
329+ run : |
330+ conan build -bf build .
331+ shell : bash
332+
333+ - uses : actions/upload-artifact@v2
334+ with :
335+ name : FBX2glTF-macos
336+ path : build/FBX2glTF
337+
338+ - name : Archive Release
339+ uses : thedoctor0/zip-release@master
340+ with :
341+ type : ' zip'
342+ filename : fbx2gltf-macos
343+ directory : build
344+ path : FBX2glTF
345+
346+ - uses : " marvinpinto/action-automatsic-releases@latest"
347+ with :
348+ repo_token : " ${{ secrets.GITHUB_TOKEN }}"
349+ automatic_release_tag : latest-macos-arm64
350+ prerelease : true
351+ title : FBX2glTF Macos ARM64 packages
352+ files : |
353+ build/fbx2gltf-macos-arm64.zip
0 commit comments