Enable minimal build
This commit is contained in:
		
				
					committed by
					
						 CodingWorkshop Signing Team
						CodingWorkshop Signing Team
					
				
			
			
				
	
				
						parent
						
							e2aa006f8d
						
					
				
				
					commit
					9d93103940
				
			
							
								
								
									
										12
									
								
								.github/workflows/build.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										12
									
								
								.github/workflows/build.yml
									
									
									
									
										vendored
									
									
								
							| @@ -3,18 +3,24 @@ run-name: ${{ github.actor }} runs Gitea Actions | |||||||
| on: [push] | on: [push] | ||||||
|  |  | ||||||
| jobs: | jobs: | ||||||
|   XTChain: |   XTchain: | ||||||
|     strategy: |     strategy: | ||||||
|       matrix: |       matrix: | ||||||
|         target: [linux, windows] |         target: [linux, windows] | ||||||
|  |         build: [full, minimal] | ||||||
|     runs-on: oscw |     runs-on: oscw | ||||||
|     container: |     container: | ||||||
|       image: codingworkshop/oscw-runner:latest |       image: codingworkshop/oscw-runner:latest | ||||||
|     steps: |     steps: | ||||||
|       - name: Clone repository |       - name: Clone repository | ||||||
|         uses: actions/checkout@v3 |         uses: actions/checkout@v3 | ||||||
|       - name: Build XTChain |       - name: Build XTchain | ||||||
|         run: ./build.sh --jobs=10 --target=${{ matrix.target }} |         run: | | ||||||
|  |           if [ "${{ matrix.build }}" == "minimal" ]; then | ||||||
|  |             ./build.sh --jobs=10 --target=${{ matrix.target }} --minimal | ||||||
|  |           else | ||||||
|  |             ./build.sh --jobs=10 --target=${{ matrix.target }} | ||||||
|  |           fi | ||||||
|       - name: Publish binaries |       - name: Publish binaries | ||||||
|         if: startsWith(github.ref, 'refs/tags/') |         if: startsWith(github.ref, 'refs/tags/') | ||||||
|         env: |         env: | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user