mirror of
				https://github.com/eledio-devices/thirdparty-ArduinoJson.git
				synced 2025-10-31 16:14:11 +01:00 
			
		
		
		
	CI: added ESP-IDF component build (closes #1599)
This commit is contained in:
		
				
					committed by
					
						 Benoit Blanchon
						Benoit Blanchon
					
				
			
			
				
	
			
			
			
						parent
						
							cb2c029e57
						
					
				
				
					commit
					52e856fa6f
				
			
							
								
								
									
										26
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										26
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							| @@ -449,3 +449,29 @@ jobs: | ||||
|         with: | ||||
|           name: Single headers | ||||
|           path: ${{ steps.amalgamate.outputs.filename }} | ||||
|  | ||||
|   esp-idf: | ||||
|     needs: gcc | ||||
|     name: ESP-IDF | ||||
|     runs-on: ubuntu-latest | ||||
|     steps: | ||||
|       - name: Setup cache | ||||
|         uses: actions/cache@v2 | ||||
|         with: | ||||
|           path: ~/.espressif | ||||
|           key: ${{ runner.os }}-esp-idf | ||||
|       - name: Checkout ArduinoJson | ||||
|         uses: actions/checkout@v2 | ||||
|       - name: Checkout ESP-IDF | ||||
|         uses: actions/checkout@v2 | ||||
|         with: | ||||
|           repository: espressif/esp-idf | ||||
|           path: esp-idf | ||||
|           submodules: true | ||||
|       - name: Install ESP-IDF | ||||
|         run: ./esp-idf/install.sh | ||||
|       - name: Build example | ||||
|         run: | | ||||
|           source esp-idf/export.sh | ||||
|           cd extras/ci/espidf | ||||
|           idf.py build | ||||
|   | ||||
		Reference in New Issue
	
	Block a user