You've already forked ArduinoHttpClient
							
							
				mirror of
				https://github.com/arduino-libraries/ArduinoHttpClient.git
				synced 2025-11-03 05:33:13 +03:00 
			
		
		
		
	Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4 to 5. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v4...v5) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
		
			
				
	
	
		
			64 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			64 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
name: Compile Examples
 | 
						|
 | 
						|
# See: https://docs.github.com/en/free-pro-team@latest/actions/reference/events-that-trigger-workflows
 | 
						|
on:
 | 
						|
  push:
 | 
						|
    paths:
 | 
						|
      - ".github/workflows/compile-examples.yml"
 | 
						|
      - "examples/**"
 | 
						|
      - "src/**"
 | 
						|
  pull_request:
 | 
						|
    paths:
 | 
						|
      - ".github/workflows/compile-examples.yml"
 | 
						|
      - "examples/**"
 | 
						|
      - "src/**"
 | 
						|
  schedule:
 | 
						|
    # Run every Tuesday at 8 AM UTC to catch breakage caused by changes to external resources (libraries, platforms).
 | 
						|
    - cron: "0 8 * * TUE"
 | 
						|
  workflow_dispatch:
 | 
						|
  repository_dispatch:
 | 
						|
 | 
						|
jobs:
 | 
						|
  build:
 | 
						|
    name: ${{ matrix.board.fqbn }}
 | 
						|
    runs-on: ubuntu-latest
 | 
						|
 | 
						|
    env:
 | 
						|
      SKETCHES_REPORTS_PATH: sketches-reports
 | 
						|
 | 
						|
    strategy:
 | 
						|
      fail-fast: false
 | 
						|
 | 
						|
      matrix:
 | 
						|
        board:
 | 
						|
          - fqbn: arduino:samd:mkr1000
 | 
						|
            platforms: |
 | 
						|
              - name: arduino:samd
 | 
						|
            artifact-name-suffix: arduino-samd-mkr1000
 | 
						|
 | 
						|
    steps:
 | 
						|
      - name: Checkout repository
 | 
						|
        uses: actions/checkout@v5
 | 
						|
 | 
						|
      - name: Compile examples
 | 
						|
        uses: arduino/compile-sketches@v1
 | 
						|
        with:
 | 
						|
          github-token: ${{ secrets.GITHUB_TOKEN }}
 | 
						|
          fqbn: ${{ matrix.board.fqbn }}
 | 
						|
          platforms: ${{ matrix.board.platforms }}
 | 
						|
          libraries: |
 | 
						|
            # Install the library from the local path.
 | 
						|
            - source-path: ./
 | 
						|
            - name: WiFi101
 | 
						|
          sketch-paths: |
 | 
						|
            - examples
 | 
						|
          enable-deltas-report: true
 | 
						|
          sketches-report-path: ${{ env.SKETCHES_REPORTS_PATH }}
 | 
						|
 | 
						|
      - name: Save sketches report as workflow artifact
 | 
						|
        uses: actions/upload-artifact@v5
 | 
						|
        with:
 | 
						|
          if-no-files-found: error
 | 
						|
          path: ${{ env.SKETCHES_REPORTS_PATH }}
 | 
						|
          name: sketches-report-${{ matrix.board.artifact-name-suffix }}
 |