compile mac arm64 too #46
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Pull Request Test | |
on: [pull_request] | |
jobs: | |
test: | |
name: Test on Windows | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v2 | |
name: Checkout | |
- name: Build | |
shell: bash | |
run: | | |
CI/build.sh | |
- name: Run Core Test | |
shell: pwsh | |
run: | | |
out/build/Release/Release/FBX-glTF-conv-core-test.exe | |
- name: Run CLI Test | |
shell: pwsh | |
run: | | |
out/build/Release/Release/FBX-glTF-conv-test.exe | |
test_on_mac: | |
name: Test on macOS | |
runs-on: macos-11 | |
steps: | |
- uses: actions/checkout@v2 | |
name: | |
- name: Set up Xcode | |
uses: maxim-lobanov/setup-xcode@v1 | |
with: | |
xcode-version: latest-stable | |
- name: Build | |
shell: bash | |
run: | | |
CI/build.sh | |
- name: Upload Artifacts | |
uses: actions/upload-artifact@v3 | |
with: | |
name: macos-files | |
path: out/install/**/* | |
test_on_min_supported_mac: | |
name: Test on Min Supported macOS | |
runs-on: macos-11 | |
needs: test_on_mac | |
steps: | |
- name: Download Artifacts | |
uses: actions/download-artifact@v3 | |
with: | |
name: macos-files | |
path: out | |
- name: Run Tests | |
shell: pwsh | |
run: | | |
ls out | |
chmod 777 ./out/Release/bin/FBX-glTF-conv | |
./out/Release/bin/FBX-glTF-conv --help | |