fix(workflow): test build arch
This commit is contained in:
		
							parent
							
								
									79f14911a1
								
							
						
					
					
						commit
						bcccfc255f
					
				
							
								
								
									
										2
									
								
								.github/workflows/release.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/release.yml
									
									
									
									
										vendored
									
									
								
							@ -29,7 +29,7 @@ jobs:
 | 
			
		||||
        with:
 | 
			
		||||
          ndk-version: r26d
 | 
			
		||||
          local-cache: true
 | 
			
		||||
      
 | 
			
		||||
 | 
			
		||||
      - name: Setup Go Environment
 | 
			
		||||
        uses: actions/setup-go@master
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										11
									
								
								.github/workflows/test.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										11
									
								
								.github/workflows/test.yml
									
									
									
									
										vendored
									
									
								
							@ -33,10 +33,17 @@ jobs:
 | 
			
		||||
            ~/go/pkg/mod
 | 
			
		||||
          key: ${{ runner.os }}-go-${{ matrix.goos }}-${{ matrix.goarch }}-${{ hashFiles('**/go.sum') }}
 | 
			
		||||
 | 
			
		||||
      - name: Build and Run Tests
 | 
			
		||||
      - name: Test Build
 | 
			
		||||
        env:
 | 
			
		||||
          NDK_TOOLCHAIN: ${{ steps.setup-ndk.outputs.ndk-path }}
 | 
			
		||||
          BUILD_MACHINE: linux
 | 
			
		||||
        run: |
 | 
			
		||||
          echo NDK path is $NDK_TOOLCHAIN
 | 
			
		||||
          make -e runtest
 | 
			
		||||
          make -e
 | 
			
		||||
 | 
			
		||||
      - name: Build and Run Tests
 | 
			
		||||
        env:
 | 
			
		||||
          NDK_TOOLCHAIN: ${{ steps.setup-ndk.outputs.ndk-path }}
 | 
			
		||||
          BUILD_MACHINE: linux
 | 
			
		||||
          GOARCH: amd64
 | 
			
		||||
        run: make -e runtest
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user