Add build linux on Azure
This commit is contained in:
		
							parent
							
								
									0cdc9d4750
								
							
						
					
					
						commit
						96d6b7375c
					
				| 
						 | 
				
			
			@ -14,7 +14,9 @@ jobs:
 | 
			
		|||
      - script: |
 | 
			
		||||
          sudo apt -y update
 | 
			
		||||
          sudo apt install -y libxtst-dev libx11-dev libxdo3 libxdo-dev
 | 
			
		||||
      - template: ci/test.yml  # Template reference
 | 
			
		||||
      - template: ci/test.yml
 | 
			
		||||
      - script: ci/build-linux.yml
 | 
			
		||||
#      - template: ci/deploy.yml
 | 
			
		||||
 | 
			
		||||
#  - job: macOS
 | 
			
		||||
#    pool:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										7
									
								
								ci/build-linux.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								ci/build-linux.yml
									
									
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,7 @@
 | 
			
		|||
steps:
 | 
			
		||||
  - script: |
 | 
			
		||||
      cargo build --release
 | 
			
		||||
      VER=$(cat Cargo.toml| grep version -m 1 | awk -F '"' '{ print $2 }')
 | 
			
		||||
      cd target/release/
 | 
			
		||||
      tar czf "espanso-linux-$VER.tar.gz" espanso
 | 
			
		||||
    displayName: Cargo build and packaging
 | 
			
		||||
| 
						 | 
				
			
			@ -5,5 +5,5 @@ steps:
 | 
			
		|||
  - template: install-rust.yml
 | 
			
		||||
 | 
			
		||||
  - script: |
 | 
			
		||||
      cargo test
 | 
			
		||||
      cargo test --release
 | 
			
		||||
    displayName: cargo test
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user