mirror of
				https://github.com/MindWorkAI/AI-Studio.git
				synced 2025-11-04 01:20:21 +00:00 
			
		
		
		
	Store qemu image in dedicated qemu directory
This commit is contained in:
		
							parent
							
								
									987ed7d196
								
							
						
					
					
						commit
						70dabf9bc8
					
				
							
								
								
									
										6
									
								
								.github/workflows/build-and-release.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										6
									
								
								.github/workflows/build-and-release.yml
									
									
									
									
										vendored
									
									
								
							@ -231,7 +231,7 @@ jobs:
 | 
			
		||||
        uses: actions/cache@v4
 | 
			
		||||
        id: linux_arm_cache
 | 
			
		||||
        with:
 | 
			
		||||
          path: $RUNNER_TEMP/linux_arm_qemu_cache.img
 | 
			
		||||
          path: qemu/linux_arm_qemu_cache.img
 | 
			
		||||
          
 | 
			
		||||
          # When the entire key matches, Rust might just create the bundles using the current .NET build:
 | 
			
		||||
          key: target-linux-arm64-rust-${{ env.RUST_VERSION }}-dependencies-${{ env.CARGO_LOCK_HASH }}
 | 
			
		||||
@ -281,13 +281,13 @@ jobs:
 | 
			
		||||
      - name: Add the built runner image to the cache
 | 
			
		||||
        if: steps.linux_arm_cache.outputs.cache-hit != 'true'
 | 
			
		||||
        run: |
 | 
			
		||||
          mv ${{ steps.build-linux-arm-runner.outputs.image }} $RUNNER_TEMP/linux_arm_qemu_cache.img
 | 
			
		||||
          mv ${{ steps.build-linux-arm-runner.outputs.image }} qemu/linux_arm_qemu_cache.img
 | 
			
		||||
            
 | 
			
		||||
      - name: Compiling the Rust runtime
 | 
			
		||||
        uses: pguyot/arm-runner-action@v2.6.5
 | 
			
		||||
        id: build-linux-arm
 | 
			
		||||
        with:
 | 
			
		||||
          base_image: file://$RUNNER_TEMP/linux_arm_qemu_cache.img
 | 
			
		||||
          base_image: file://qemu/linux_arm_qemu_cache.img
 | 
			
		||||
          cpu: cortex-a53
 | 
			
		||||
          optimize_image: false
 | 
			
		||||
          copy_artifact_path: runtime
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user