mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-30 20:21:12 -06:00 
			
		
		
		
	add mac arm64 for build_deps
This commit is contained in:
		
							parent
							
								
									42d78a3a57
								
							
						
					
					
						commit
						d54861b8f7
					
				
					 1 changed files with 15 additions and 3 deletions
				
			
		
							
								
								
									
										18
									
								
								.github/workflows/build_deps.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										18
									
								
								.github/workflows/build_deps.yml
									
										
									
									
										vendored
									
									
								
							|  | @ -20,8 +20,11 @@ jobs: | |||
|       matrix: | ||||
|         include: | ||||
|           - os: ubuntu-20.04 | ||||
|           - os: windows-latest | ||||
|           - os: windows-2019 | ||||
|           - os: macos-12 | ||||
|             arch: x86_64 | ||||
|           - os: macos-12 | ||||
|             arch: arm64 | ||||
|     runs-on: ${{ matrix.os }} | ||||
| 
 | ||||
|     steps: | ||||
|  | @ -33,7 +36,7 @@ jobs: | |||
|         uses: ilammy/msvc-dev-cmd@v1 | ||||
| 
 | ||||
|       - name: Build on Windows | ||||
|         if: matrix.os == 'Windows' | ||||
|         if: matrix.os == 'windows-2019' | ||||
|         working-directory: ${{ github.workspace }} | ||||
|         run: | | ||||
|             choco install strawberryperl | ||||
|  | @ -42,7 +45,7 @@ jobs: | |||
|             .\build_release.bat deps | ||||
| 
 | ||||
|       - name: Build on Mac x86_64 | ||||
|         if: ${{ runner.os == 'macOS' }} | ||||
|         if: matrix.os == 'macos-12' && matrix.arch == 'x86_64' | ||||
|         working-directory: ${{ github.workspace }} | ||||
|         run: | | ||||
|             brew install cmake git gettext | ||||
|  | @ -50,6 +53,15 @@ jobs: | |||
|             mkdir -p ${{ github.workspace }}/deps/build_x86_64/OrcaSlicer_dep_x86_64 | ||||
|             ./build_release_macos.sh -d -a x86_64 | ||||
| 
 | ||||
|       - name: Build on Mac arm64 | ||||
|         if: matrix.os == 'macos-12' && matrix.arch == 'arm64' | ||||
|         working-directory: ${{ github.workspace }} | ||||
|         run: | | ||||
|             brew install cmake git gettext | ||||
|             mkdir -p ${{ github.workspace }}/deps/build_arm64 | ||||
|             mkdir -p ${{ github.workspace }}/deps/build_arm64/OrcaSlicer_dep_arm64 | ||||
|             ./build_release_macos.sh -d -a arm64 | ||||
| 
 | ||||
|       - name: Build on Ubuntu | ||||
|         if: matrix.os == 'ubuntu-20.04' | ||||
|         working-directory: ${{ github.workspace }} | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 SoftFever
						SoftFever